diff --git a/readchar/key.py b/readchar/key.py index 256c794..8fb83da 100644 --- a/readchar/key.py +++ b/readchar/key.py @@ -8,13 +8,32 @@ ESC = "\x1b" # CTRL -CTRL_A = "\x01" -CTRL_B = "\x02" -CTRL_C = "\x03" -CTRL_D = "\x04" -CTRL_E = "\x05" -CTRL_F = "\x06" -CTRL_Z = "\x1a" +CTRL_A = '\x01' +CTRL_B = '\x02' +CTRL_C = '\x03' +CTRL_D = '\x04' +CTRL_E = '\x05' +CTRL_F = '\x06' +CTRL_G = '\x07' +CTRL_H = '\x08' +CTRL_I = '\t' +CTRL_J = '\n' +CTRL_K = '\x0b' +CTRL_L = '\x0c' +CTRL_M = '\r' +CTRL_N = '\x0e' +CTRL_O = '\x0f' +CTRL_P = '\x10' +CTRL_Q = '\x11' +CTRL_R = '\x12' +CTRL_S = '\x13' +CTRL_T = '\x14' +CTRL_U = '\x15' +CTRL_V = '\x16' +CTRL_W = '\x17' +CTRL_X = '\x18' +CTRL_Y = '\x19' +CTRL_Z = '\x1a' # ALT ALT_A = "\x1b\x61"