Add a way to force a colour to RGB and a format to display it.

This commit is contained in:
nicm
2021-10-25 21:21:16 +00:00
parent eb82ad5216
commit 197a116f5a
4 changed files with 40 additions and 4 deletions

1
tmux.h
View File

@@ -2616,6 +2616,7 @@ int input_key_get_mouse(struct screen *, struct mouse_event *, u_int,
int colour_find_rgb(u_char, u_char, u_char);
int colour_join_rgb(u_char, u_char, u_char);
void colour_split_rgb(int, u_char *, u_char *, u_char *);
int colour_force_rgb(int);
const char *colour_tostring(int);
int colour_fromstring(const char *s);
int colour_256toRGB(int);