mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 12:21:55 +00:00
...
This commit is contained in:
parent
cbe1cf58e8
commit
620bbbccb6
1 changed files with 2 additions and 2 deletions
|
|
@ -35,8 +35,8 @@ SHIFTED_KEYS = {
|
|||
defines.GLFW_KEY_RIGHT: key_as_bytes('kRIT'),
|
||||
}
|
||||
|
||||
control_codes = {k: 1 + i for i, k in enumerate(range(defines.GLFW_KEY_A, defines.GLFW_KEY_RIGHT_BRACKET))}
|
||||
alt_codes = {k: (0x1b, k) for i, k in enumerate(range(defines.GLFW_KEY_A, defines.GLFW_KEY_RIGHT_BRACKET))}
|
||||
control_codes = {k: 1 + i for i, k in enumerate(range(defines.GLFW_KEY_SPACE, defines.GLFW_KEY_RIGHT_BRACKET))}
|
||||
alt_codes = {k: (0x1b, k) for i, k in enumerate(range(defines.GLFW_KEY_SPACE, defines.GLFW_KEY_RIGHT_BRACKET))}
|
||||
|
||||
|
||||
def interpret_key_event(key, scancode, mods):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue