diff options
author | nicm <nicm> | 2016-01-29 11:13:56 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-01-29 11:13:56 +0000 |
commit | 427b8204268af5548d09b830e101c59daa095df9 (patch) | |
tree | 644b41d9f4ffa6c7f70be0b64de37d7c2170876f /tty-term.c | |
parent | b5b5221c13ded5b141fa35f60c707c9c403b83a6 (diff) | |
download | rtmux-427b8204268af5548d09b830e101c59daa095df9.tar.gz rtmux-427b8204268af5548d09b830e101c59daa095df9.tar.bz2 rtmux-427b8204268af5548d09b830e101c59daa095df9.zip |
Support for RGB colour, using the extended cell mechanism to avoid
wasting unnecessary space. The 'Tc' flag must be set in the external
TERM entry (using terminal-overrides or a custom terminfo entry), if not
tmux will map to the closest of the 256 or 16 colour palettes.
Mostly from Suraj N Kurapati, based on a diff originally by someone else.
Diffstat (limited to 'tty-term.c')
-rw-r--r-- | tty-term.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -251,6 +251,7 @@ const struct tty_term_code_entry tty_term_codes[] = { [TTYC_SMSO] = { TTYCODE_STRING, "smso" }, [TTYC_SMUL] = { TTYCODE_STRING, "smul" }, [TTYC_SS] = { TTYCODE_STRING, "Ss" }, + [TTYC_TC] = { TTYCODE_FLAG, "Tc" }, [TTYC_TSL] = { TTYCODE_STRING, "tsl" }, [TTYC_VPA] = { TTYCODE_STRING, "vpa" }, [TTYC_XENL] = { TTYCODE_FLAG, "xenl" }, |