Merge branch 'format_key_encoding' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
72f7cb3b7d
4
kitty/key_encoding.py
generated
4
kitty/key_encoding.py
generated
@ -298,7 +298,9 @@ def update_encoding():
|
||||
for k in sorted(keys, key=lambda k: getattr(defines, k)):
|
||||
val = getattr(defines, k)
|
||||
name = symbolic_name(k)
|
||||
if val <= defines.GLFW_KEY_LAST and name not in ('LAST', 'LAST_PRINTABLE') and val != defines.GLFW_KEY_UNKNOWN:
|
||||
if val <= defines.GLFW_KEY_LAST and name not in (
|
||||
'LAST', 'LAST_PRINTABLE'
|
||||
) and val != defines.GLFW_KEY_UNKNOWN:
|
||||
if name not in ans:
|
||||
ans[name] = encode(i)
|
||||
i += 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user