From e06b48a34483fd35c3776cda797a8b87a7114fcd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 12 Jan 2021 14:35:36 +0530 Subject: [PATCH] Identify SS3 in the docs --- docs/keyboard-protocol.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/keyboard-protocol.rst b/docs/keyboard-protocol.rst index 5ac91d416..b5666bb48 100644 --- a/docs/keyboard-protocol.rst +++ b/docs/keyboard-protocol.rst @@ -235,13 +235,13 @@ These keys are encoded using three schemes:: CSI number ; modifier ~ CSI 1 ; modifier {ABCDFHPQRS} - ESC O {ABCDFHPQRS} + SS3 {ABCDFHPQRS} In the above, if there are no modifiers, the modifier parameter is omitted. The modifier value is encoded as described in the :ref:`modifiers` section, above. When the second form is used, the number is always ``1`` and must be omitted if the modifiers field is also absent. The third form becomes the -second form when modifiers are present. +second form when modifiers are present (``SS3 is the bytes 0x1b 0x4f``). These sequences must match entries in the terminfo database for maximum compatibility. The table below lists the key, its terminfo entry name and @@ -428,7 +428,7 @@ Bugs in fixterms * No way to disambiguate :kbd:`Esc` keypresses, other than using 8-bit controls which are undesirable for other reasons * Incorrectly claims special keys are sometimes encoded using ``CSI letter`` encodings when it - is actually ``ESC O letter``. + is actually ``SS3 letter``. * ``Enter`` and ``F3`` are both assigned the number 13. * :kbd:`ctrl+shift+tab`` should be ``CSI 9 ; 6 u`` not ``CSI 1 ; 5 Z`` (shift+tab is not a separate key from tab)