mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-20 20:22:10 +00:00
Add a test for encoding of : as a legacy ascii key
This commit is contained in:
parent
19b882a0bd
commit
6b9c280214
1 changed files with 1 additions and 0 deletions
|
|
@ -392,6 +392,7 @@ class TestKeys(BaseTest):
|
|||
# }}}
|
||||
|
||||
ae(enc(key=ord(':'), shifted_key=ord('/'), mods=shift | alt), '\x1b/')
|
||||
ae(enc(key=ord(':'), mods=alt), '\x1b:')
|
||||
ae(enc(key=ord(' ')), ' ')
|
||||
ae(enc(key=ord(' '), mods=ctrl), '\0')
|
||||
ae(enc(key=ord(' '), mods=alt), '\x1b ')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue