The kittens learn about mice

This commit is contained in:
Kovid Goyal
2018-02-07 12:40:04 +05:30
parent f4f0b8fd5f
commit 168bc58635
2 changed files with 46 additions and 3 deletions

2
kitty/key_encoding.py generated
View File

@@ -305,7 +305,7 @@ def update_encoding():
subprocess.check_call(['yapf', '-i', __file__])
PRESS, REPEAT, RELEASE = 'ptr'
PRESS, REPEAT, RELEASE = 1, 2, 4
SHIFT, ALT, CTRL, SUPER = 1, 2, 4, 8
KeyEvent = namedtuple('KeyEvent', 'type mods key')
type_map = {'p': PRESS, 't': REPEAT, 'r': RELEASE}