mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-03 22:25:57 +00:00
Fix #3252
This commit is contained in:
parent
e6644aebcb
commit
2a8e8d4b38
2 changed files with 2 additions and 0 deletions
|
|
@ -307,6 +307,7 @@ is_legacy_ascii_key(uint32_t key) {
|
|||
case ',':
|
||||
case '.':
|
||||
case '/':
|
||||
case ' ':
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -394,6 +394,7 @@ class TestKeys(BaseTest):
|
|||
ae(enc(key=ord(':'), shifted_key=ord('/'), mods=shift | alt), '\x1b/')
|
||||
ae(enc(key=ord(' ')), ' ')
|
||||
ae(enc(key=ord(' '), mods=ctrl), '\0')
|
||||
ae(enc(key=ord(' '), mods=alt), '\x1b ')
|
||||
ae(enc(key=ord('i'), mods=ctrl | shift), csi(ctrl | shift, ord('i')))
|
||||
ae(enc(key=defines.GLFW_FKEY_LEFT_SHIFT), '')
|
||||
ae(enc(key=defines.GLFW_FKEY_CAPS_LOCK), '')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue