module BBS::Telnet::Escapes
The ANSI escape sequences of the special keys (cursor keys, function keys, Alt and other modifiers) decoded for Telnet::Keys#readkey; mouse reports go on to Telnet::Mouse.
Constants
- CSI_KEYS
-
The keys sent as CSI and a letter: the cursor keys and Shift-Tab.
- CURSOR_KEYS
-
The final bytes of the cursor keys, the same after CSI and SS3.
- MODIFIERS
-
The modifier prefixes by xtermβs second CSI parameter:
ESC [ 1 ; 2 Ais Shift-Up,ESC [ 15 ; 5 ~Ctrl-F5. - SS3_KEYS
-
The keys sent as SS3 and a final byte: the cursor keys and F1-F4.
- SS3_START
-
The second byte of an ESC sequence that starts an SS3 sequence.
- TILDE
-
The final byte of a CSI key sent as a number:
ESC [ 15 ~. - TILDE_KEYS
-
The keys sent as
ESC [ number ~, by number.