input: kitty: add support for “report all keys as escape codes”

This commit is contained in:
Daniel Eklöf 2021-11-29 21:03:33 +01:00
parent 73baa4cf5f
commit 0e2d8429c0
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 60 additions and 26 deletions

View file

@ -133,7 +133,9 @@ enum kitty_kbd_flags {
KITTY_KBD_REPORT_ALTERNATE = 0x04,
KITTY_KBD_REPORT_ALL = 0x08,
KITTY_KBD_REPORT_ASSOCIATED = 0x10,
KITTY_KBD_SUPPORTED = KITTY_KBD_DISAMBIGUATE | KITTY_KBD_REPORT_EVENT,
KITTY_KBD_SUPPORTED = (KITTY_KBD_DISAMBIGUATE |
KITTY_KBD_REPORT_EVENT |
KITTY_KBD_REPORT_ALL),
};
struct grid {