mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-20 15:35:03 +02:00
Add keypad mode support to replay commands
Also name the constants correctly
This commit is contained in:
@@ -34,6 +34,14 @@ def screen_bell() -> None:
|
||||
pass
|
||||
|
||||
|
||||
def screen_normal_keypad_mode() -> None:
|
||||
write('\x1b>')
|
||||
|
||||
|
||||
def screen_alternate_keypad_mode() -> None:
|
||||
write('\x1b=')
|
||||
|
||||
|
||||
def screen_cursor_position(y: int, x: int) -> None:
|
||||
write(CSI + '%s;%sH' % (y, x))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user