This commit is contained in:
Kovid Goyal
2021-01-20 16:02:28 +05:30
parent e6644aebcb
commit 2a8e8d4b38
2 changed files with 2 additions and 0 deletions

View File

@@ -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), '')