Files
LLeMbas-TTY/termwiz/src
Jun Wu 2a022399bb Fallback to SGR when rendering 16/256 colors when MaxColors is 16M
When MaxColors is 16M, the "palette index" is treated by "setaf" as a true color, not the classic 256 color. Users of `PaletteIndex` expects 256 color and let's fallback to SGR.

For example, setaf on tmux-direct is:

    setaf=\E[%?%p1%{8}%<%t3%p1%d%e38:2::%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%d%;m,

It only special treats the first 8 colors (which means `rgb(0,0,0..8)` cannot be rendered with `setaf`).
2023-11-04 06:13:07 -07:00
..
2023-11-04 06:12:08 -07:00
2021-11-25 09:00:45 -07:00
2023-07-16 07:02:12 -07:00
2023-04-07 17:39:00 -07:00
2023-07-03 13:06:20 -07:00
2023-04-25 08:39:42 -07:00
2019-05-26 08:27:43 -07:00
2023-02-12 05:46:17 -08:00