Skip to content

Commit bb79d67

Browse files
C0D3D3VCube707
authored andcommitted
linux: fix function keys F5 to F12
1 parent 039540c commit bb79d67

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

readchar/_posix_key.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@
5454
F2 = "\x1b\x4f\x51"
5555
F3 = "\x1b\x4f\x52"
5656
F4 = "\x1b\x4f\x53"
57-
F5 = "\x1b\x4f\x31\x35\x7e"
58-
F6 = "\x1b\x4f\x31\x37\x7e"
59-
F7 = "\x1b\x4f\x31\x38\x7e"
60-
F8 = "\x1b\x4f\x31\x39\x7e"
61-
F9 = "\x1b\x4f\x32\x30\x7e"
62-
F10 = "\x1b\x4f\x32\x31\x7e"
63-
F11 = "\x1b\x4f\x32\x33\x7e"
64-
F12 = "\x1b\x4f\x32\x34\x7e"
57+
F5 = "\x1b\x5b\x31\x35\x7e"
58+
F6 = "\x1b\x5b\x31\x37\x7e"
59+
F7 = "\x1b\x5b\x31\x38\x7e"
60+
F8 = "\x1b\x5b\x31\x39\x7e"
61+
F9 = "\x1b\x5b\x32\x30\x7e"
62+
F10 = "\x1b\x5b\x32\x31\x7e"
63+
F11 = "\x1b\x5b\x32\x33\x7e"
64+
F12 = "\x1b\x5b\x32\x34\x7e"
6565

6666
# other
6767
CTRL_ALT_SUPR = "\x1b\x5b\x33\x5e"

0 commit comments

Comments
 (0)