mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 12:42:25 +00:00
tui: Use correct key names for enter and backspace keys
This commit is contained in:
parent
a33ebce3c9
commit
de4384a420
1 changed files with 2 additions and 2 deletions
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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue