diff options
author | nicm <nicm> | 2019-06-27 15:17:41 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-06-27 15:17:41 +0000 |
commit | dae2868d1227b95fd076fb4a5efa6256c7245943 (patch) | |
tree | e9c0285c193c9e3463b4e3d45cfd71a7668aedfa /tmux.h | |
parent | 3a6d90adadfcd4aa6b513df7f8ae5c4dcc05a6dc (diff) | |
download | rtmux-dae2868d1227b95fd076fb4a5efa6256c7245943.tar.gz rtmux-dae2868d1227b95fd076fb4a5efa6256c7245943.tar.bz2 rtmux-dae2868d1227b95fd076fb4a5efa6256c7245943.zip |
Add support for underscore colours with Setulc capability, mostly from
Kai Moschcau.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -427,6 +427,7 @@ enum tty_code_code { TTYC_SETAF, TTYC_SETRGBB, TTYC_SETRGBF, + TTYC_SETULC, TTYC_SGR0, TTYC_SITM, TTYC_SMACS, @@ -599,6 +600,7 @@ struct grid_cell { u_short attr; int fg; int bg; + int us; struct utf8_data data; }; struct grid_cell_entry { @@ -2194,7 +2196,8 @@ int colour_join_rgb(u_char, u_char, u_char); void colour_split_rgb(int, u_char *, u_char *, u_char *); const char *colour_tostring(int); int colour_fromstring(const char *s); -u_char colour_256to16(u_char); +int colour_256toRGB(int); +int colour_256to16(int); /* attributes.c */ const char *attributes_tostring(int); |