diff options
author | nicm <nicm> | 2018-10-25 15:13:38 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-10-25 15:13:38 +0000 |
commit | fc41bf46acaccb3da8d0588b7e1bbcfebc6442f6 (patch) | |
tree | 35eb7a9295fd36e29661b20a506551565ced9d16 /tmux.h | |
parent | 9feb35b7c4007966bf19cdb57b904e373da2d247 (diff) | |
download | rtmux-fc41bf46acaccb3da8d0588b7e1bbcfebc6442f6.tar.gz rtmux-fc41bf46acaccb3da8d0588b7e1bbcfebc6442f6.tar.bz2 rtmux-fc41bf46acaccb3da8d0588b7e1bbcfebc6442f6.zip |
Add a "terminal" colour which can be used instead of "default" in style
options for the terminal default colour, bypassing any inheritance from
other options. Prompted by a discussion with abieber@.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -543,6 +543,9 @@ enum utf8_state { #define COLOUR_FLAG_256 0x01000000 #define COLOUR_FLAG_RGB 0x02000000 +/* Special colours. */ +#define COLOUR_DEFAULT(c) ((c) == 8 || (c) == 9) + /* Grid attributes. Anything above 0xff is stored in an extended cell. */ #define GRID_ATTR_BRIGHT 0x1 #define GRID_ATTR_DIM 0x2 |