mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-13 04:03:16 +02:00
Add a test to ensure caps lock does not produce bytes in legacy mode
This commit is contained in:
@@ -396,6 +396,7 @@ class TestKeys(BaseTest):
|
||||
ae(enc(key=ord(' '), mods=ctrl), '\0')
|
||||
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), '')
|
||||
|
||||
q = partial(enc, key=ord('a'))
|
||||
ae(q(), 'a')
|
||||
|
||||
Reference in New Issue
Block a user