aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-04-07 06:09:40 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-04-08 08:43:36 +0000
commit55b343f69030c22fcd36b88d2af445acdd69b732 (patch)
treec819d9c96dcf1ed1df9310b0abe40217e1416502 /terminal.h
parentMerge branch 'osc-11-alpha' (diff)
osc: implement OSC 17+19: change selection background/foreground colors
And of course, we also implement the corresponding reset sequences, OSC 117+119.
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 7b463d22..3583cf61 100644
--- a/terminal.h
+++ b/terminal.h
@@ -407,6 +407,9 @@ struct terminal {
uint32_t bg;
uint32_t table[256];
uint16_t alpha;
+ uint32_t selection_fg;
+ uint32_t selection_bg;
+ bool use_custom_selection;
} colors;
enum cursor_style cursor_style;