mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 10:27:24 +00:00
Add a test to ensure caps lock does not produce bytes in legacy mode
This commit is contained in:
parent
654cd54363
commit
e6644aebcb
1 changed files with 1 additions and 0 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue