mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
input: kitty: disable CSI for Caps- and Num-Lock
Not sure why these keys have CSIs in the kitty spec; they don’t emit anything. Could it be that they are used if the keys are *not* modifiers in the current layout?
This commit is contained in:
parent
e744cee760
commit
ebad4bba28
1 changed files with 2 additions and 2 deletions
4
input.c
4
input.c
|
|
@ -1190,9 +1190,9 @@ kitty_kbd_protocol(struct seat *seat, struct terminal *term,
|
|||
case XKB_KEY_Page_Down: key = 6; final = '~'; break;
|
||||
case XKB_KEY_Home: key = 1; final = 'H'; break;
|
||||
case XKB_KEY_End: key = 1; final = 'F'; break;
|
||||
case XKB_KEY_Caps_Lock: key = 57358; final = 'u'; break;
|
||||
//case XKB_KEY_Caps_Lock: key = 57358; final = 'u'; break;
|
||||
case XKB_KEY_Scroll_Lock: key = 57359; final = 'u'; break;
|
||||
case XKB_KEY_Num_Lock: key = 57360; final = 'u'; break;
|
||||
//case XKB_KEY_Num_Lock: key = 57360; final = 'u'; break;
|
||||
case XKB_KEY_Print: key = 57361; final = 'u'; break;
|
||||
case XKB_KEY_Pause: key = 57362; final = 'u'; break;
|
||||
case XKB_KEY_Menu: key = 57363; final = 'u'; break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue