diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-28 14:15:24 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-11-28 14:15:24 +0000 |
| commit | 4334259c70aa28cba2dfd8c38dbf2ea55d0fc7f7 (patch) | |
| tree | 794029df7eaa21ed6e060f6645ca6ce0adf1d0ca /terminal.h | |
| parent | grid: uri_range_erase(): unittest: try erasing a row without any URIs (diff) | |
| parent | changelog: kitty keyboard protocol - disambiguate escape codes (diff) | |
Merge branch 'kitty-kbd'
Part of #319
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -127,6 +127,15 @@ struct sixel { bool opaque; }; +enum kitty_kbd_flags { + KITTY_KBD_DISAMBIGUATE = 0x01, + KITTY_KBD_REPORT_EVENT = 0x02, + KITTY_KBD_REPORT_ALTERNATE = 0x04, + KITTY_KBD_REPORT_ALL = 0x08, + KITTY_KBD_REPORT_ASSOCIATED = 0x10, + KITTY_KBD_SUPPORTED = KITTY_KBD_DISAMBIGUATE, +}; + struct grid { int num_rows; int num_cols; @@ -149,6 +158,12 @@ struct grid { tll(struct damage) scroll_damage; tll(struct sixel) sixel_images; + + struct { + enum kitty_kbd_flags flags[8]; + uint8_t idx; + } kitty_kbd; + }; struct vt_subparams { |
