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-18 18:08:08 +0000
commitd620a7b3b43320985ac788851ee464826ff8f713 (patch)
treec819d9c96dcf1ed1df9310b0abe40217e1416502 /terminal.h
parentosc: reset background alpha when resetting the background color (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;