mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
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.
This commit is contained in:
1
tmux.h
1
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);
|
||||
|
Reference in New Issue
Block a user