summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2018-10-25 17:02:42 +0100
committerThomas Adam <thomas@xteddy.org>2018-10-25 17:02:42 +0100
commite771f10dc617d46f9096c90f078621a322eeb757 (patch)
treee14bd3fbf23db20666dffb7897b5d18306989f6d /tmux.h
parent2808f8261cb132e2faf6fe43cd8a5c7ff66b4c12 (diff)
parentfc41bf46acaccb3da8d0588b7e1bbcfebc6442f6 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 2f8ed88d..cf8bf087 100644
--- a/tmux.h
+++ b/tmux.h
@@ -545,6 +545,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