We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3317549 + af7a57c commit 56f7b01Copy full SHA for 56f7b01
readchar/key.py
@@ -8,13 +8,32 @@
8
ESC = "\x1b"
9
10
# CTRL
11
-CTRL_A = "\x01"
12
-CTRL_B = "\x02"
13
-CTRL_C = "\x03"
14
-CTRL_D = "\x04"
15
-CTRL_E = "\x05"
16
-CTRL_F = "\x06"
17
-CTRL_Z = "\x1a"
+CTRL_A = '\x01'
+CTRL_B = '\x02'
+CTRL_C = '\x03'
+CTRL_D = '\x04'
+CTRL_E = '\x05'
+CTRL_F = '\x06'
+CTRL_G = '\x07'
18
+CTRL_H = '\x08'
19
+CTRL_I = '\t'
20
+CTRL_J = '\n'
21
+CTRL_K = '\x0b'
22
+CTRL_L = '\x0c'
23
+CTRL_M = '\r'
24
+CTRL_N = '\x0e'
25
+CTRL_O = '\x0f'
26
+CTRL_P = '\x10'
27
+CTRL_Q = '\x11'
28
+CTRL_R = '\x12'
29
+CTRL_S = '\x13'
30
+CTRL_T = '\x14'
31
+CTRL_U = '\x15'
32
+CTRL_V = '\x16'
33
+CTRL_W = '\x17'
34
+CTRL_X = '\x18'
35
+CTRL_Y = '\x19'
36
+CTRL_Z = '\x1a'
37
38
# ALT
39
ALT_A = "\x1b\x61"
0 commit comments