mirror of
https://github.com/tmux/tmux.git
synced 2025-01-06 07:48:48 +00:00
256 and RGB features can imply AX (for aixterm colours).
This commit is contained in:
parent
57bd6e0447
commit
bd91015b13
@ -74,6 +74,7 @@ static struct tty_feature tty_feature_clipboard = {
|
||||
* 256 palette.
|
||||
*/
|
||||
static const char *tty_feature_rgb_capabilities[] = {
|
||||
"AX",
|
||||
"setrgbf=\\E[38;2;%p1%d;%p2%d;%p3%dm",
|
||||
"setrgbb=\\E[48;2;%p1%d;%p2%d;%p3%dm",
|
||||
"setab=\\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m",
|
||||
@ -88,6 +89,7 @@ static struct tty_feature tty_feature_rgb = {
|
||||
|
||||
/* Terminal supports 256 colours. */
|
||||
static const char *tty_feature_256_capabilities[] = {
|
||||
"AX",
|
||||
"setab=\\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m",
|
||||
"setaf=\\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m",
|
||||
NULL
|
||||
|
Loading…
Reference in New Issue
Block a user