From 55b343f69030c22fcd36b88d2af445acdd69b732 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 7 Apr 2021 08:09:40 +0200 Subject: osc: implement OSC 17+19: change selection background/foreground colors And of course, we also implement the corresponding reset sequences, OSC 117+119. --- terminal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'terminal.h') 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; -- cgit v1.3