Initial commit

This commit is contained in:
Lyx committed 2025-03-14 16:23:01 +01:00
commit 3394196287
2164 files changed
+358958

No files matched your search

@@ -0,0 +1,50 @@
from ._base_key import *
# common
BACKSPACE = "\x7f"
# cursors
UP = "\x1b\x5b\x41"
DOWN = "\x1b\x5b\x42"
LEFT = "\x1b\x5b\x44"
RIGHT = "\x1b\x5b\x43"
# navigation keys
INSERT = "\x1b\x5b\x32\x7e"
SUPR = "\x1b\x5b\x33\x7e"
HOME = "\x1b\x5b\x48"
END = "\x1b\x5b\x46"
PAGE_UP = "\x1b\x5b\x35\x7e"
PAGE_DOWN = "\x1b\x5b\x36\x7e"
# function keys
F1 = "\x1b\x4f\x50"
F2 = "\x1b\x4f\x51"
F3 = "\x1b\x4f\x52"
F4 = "\x1b\x4f\x53"
F5 = "\x1b\x5b\x31\x35\x7e"
F6 = "\x1b\x5b\x31\x37\x7e"
F7 = "\x1b\x5b\x31\x38\x7e"
F8 = "\x1b\x5b\x31\x39\x7e"
F9 = "\x1b\x5b\x32\x30\x7e"
F10 = "\x1b\x5b\x32\x31\x7e"
F11 = "\x1b\x5b\x32\x33\x7e"
F12 = "\x1b\x5b\x32\x34\x7e"
# SHIFT+_
SHIFT_TAB = "\x1b\x5b\x5a"
# other
CTRL_ALT_SUPR = "\x1b\x5b\x33\x5e"
# ALT+_
ALT_A = "\x1b\x61"
# CTRL+ALT+_
CTRL_ALT_A = "\x1b\x01"
# aliases
ENTER = LF
DELETE = SUPR