diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-07-01 15:24:50 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-07-03 07:47:30 +0000 |
| commit | 5d4a002413cdf09aa471e29b0a7ae29f7cf7b89c (patch) | |
| tree | eed133f2f52589d95b8b45f69d72693f8335d46f /terminal.h | |
| parent | csi: implement SGR 21, double underlines (diff) | |
osc: merge OSC 10/11/12/17/19 handling
10/11/17/19 were already merged, so this patch just stops special
casing 12 (cursor color).
In preparation for XTPUSHCOLORS/XTPOPCOLORS, the cursor colors are
moved from their own struct, into the 'colors' struct.
Also fix a bug where OSC 17/19 queries returned OSC-11 data.
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -568,6 +568,8 @@ struct terminal { uint32_t bg; uint32_t table[256]; uint16_t alpha; + uint32_t cursor_fg; /* Text color */ + uint32_t cursor_bg; /* cursor color */ uint32_t selection_fg; uint32_t selection_bg; bool use_custom_selection; @@ -580,10 +582,6 @@ struct terminal { int fd; enum { CURSOR_BLINK_ON, CURSOR_BLINK_OFF } state; } cursor_blink; - struct { - uint32_t text; - uint32_t cursor; - } cursor_color; struct { enum selection_kind kind; |
