fill3: Add more term codes.
This commit is contained in:
parent
d8f21d97ba
commit
abc5b15d90
1 changed files with 4 additions and 0 deletions
|
|
@ -25,6 +25,10 @@ BACKSPACE = "\x7f"
|
|||
ALT_BACKSPACE = ESC + BACKSPACE
|
||||
ALT_CARROT = ESC + "^"
|
||||
ALT_SEMICOLON = ESC + ";"
|
||||
ALT_UP = ESC + "[1;3A"
|
||||
ALT_DOWN = ESC + "[1;3B"
|
||||
ALT_LEFT = ESC + "[1;3D"
|
||||
ALT_RIGHT = ESC + "[1;3C"
|
||||
globals().update({f"ALT_{letter}": ESC + letter for letter in string.ascii_letters})
|
||||
globals().update({f"CTRL_{letter}": chr(index + 1)
|
||||
for index, letter in enumerate(string.ascii_uppercase)})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue