diff options
author | nicm <nicm> | 2015-06-05 22:33:39 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-06-05 22:33:39 +0000 |
commit | 55b96a5bd5786f162b258c58627deb8e829cabd7 (patch) | |
tree | 35c12c94f87ef63f9d6f6571bb4dc8a032e01f2f /tmux.h | |
parent | 1cb073d48efa74b2e593a2beb8f56fbda6f9076a (diff) | |
download | rtmux-55b96a5bd5786f162b258c58627deb8e829cabd7.tar.gz rtmux-55b96a5bd5786f162b258c58627deb8e829cabd7.tar.bz2 rtmux-55b96a5bd5786f162b258c58627deb8e829cabd7.zip |
Handle the RGB colour escape sequence (\033[38;2;<r>;<g>;<b>m and 48;2)
like xterm(1) does, by mapping to the nearest in the 256 colour palette.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1953,6 +1953,7 @@ char *xterm_keys_lookup(int); int xterm_keys_find(const char *, size_t, size_t *, int *); /* colour.c */ +int colour_find_rgb(u_char, u_char, u_char); void colour_set_fg(struct grid_cell *, int); void colour_set_bg(struct grid_cell *, int); const char *colour_tostring(int); |