mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-06 16:05:05 +02:00
tui: Use correct key names for enter and backspace keys
This commit is contained in:
4
kitty/key_encoding.py
generated
4
kitty/key_encoding.py
generated
@@ -348,9 +348,9 @@ config_key_map.update({
|
||||
'ESC': g['ESCAPE'],
|
||||
})
|
||||
|
||||
enter_key = KeyEvent(PRESS, 0, g['ENTER'])
|
||||
backspace_key = KeyEvent(PRESS, 0, g['BACKSPACE'])
|
||||
del key_name, enc, g
|
||||
enter_key = KeyEvent(PRESS, 0, ENCODING['ENTER'])
|
||||
backspace_key = KeyEvent(PRESS, 0, ENCODING['BACKSPACE'])
|
||||
|
||||
|
||||
def decode_key_event(text):
|
||||
|
||||
Reference in New Issue
Block a user