mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 09:18:08 +02:00
Add DECPAM and DECPNM
This commit is contained in:
@@ -39,6 +39,12 @@ DECSC = b"7"
|
||||
#: selection. If none were saved, move cursor to home position.
|
||||
DECRC = b"8"
|
||||
|
||||
#: Set numeric keypad mode
|
||||
DECPNM = b'>'
|
||||
|
||||
#: Set application keypad mode
|
||||
DECPAM = b'='
|
||||
|
||||
# "Sharp" escape sequences.
|
||||
# -------------------------
|
||||
|
||||
|
||||
@@ -82,6 +82,8 @@ class Stream(object):
|
||||
esc.HTS: "set_tab_stop",
|
||||
esc.DECSC: "save_cursor",
|
||||
esc.DECRC: "restore_cursor",
|
||||
esc.DECPNM: 'numeric_keypad_mode',
|
||||
esc.DECPAM: 'application_keypad_mode',
|
||||
}
|
||||
|
||||
#: "sharp" escape sequences -- ``ESC # <N>``.
|
||||
|
||||
Reference in New Issue
Block a user