aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2015-06-05 22:33:39 +0000
committernicm <nicm>2015-06-05 22:33:39 +0000
commit55b96a5bd5786f162b258c58627deb8e829cabd7 (patch)
tree35c12c94f87ef63f9d6f6571bb4dc8a032e01f2f /tmux.h
parent1cb073d48efa74b2e593a2beb8f56fbda6f9076a (diff)
downloadrtmux-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 699ee81e..4ddf5c4a 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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);