diff --git a/protocol-extensions.asciidoc b/protocol-extensions.asciidoc index 3f38f57f0..e7c0dc82b 100644 --- a/protocol-extensions.asciidoc +++ b/protocol-extensions.asciidoc @@ -14,10 +14,10 @@ toc::[] kitty supports colored and styled (wavy) underlines. This is of particular use in terminal editors such as vim and emacs to display red, wavy underlines under mis-spelled words and/or syntax errors. This is done by re-purposing some SGR escape codes +that are not used in modern terminals (https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_codes) Setting the width and/or height to zero means that no drawing is done and the cursor position remains unchanged. -that are not used in modern terminals (https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_codes) To change the underline style from straight line to curl (this used to be the code for rapid blinking text, only previous use I know of was in MS-DOS ANSI.sys): @@ -203,7 +203,7 @@ transmit data, must send the pixel data directly using escape codes. Since escape codes are of limited maximum length, the data will need to be chunked up for transfer. This is done using the `m` key. The pixel data must first be base64 encoded then chunked up into chunks no larger than `4096` bytes. The client -then sends the graphics escape code as usual, with the addition os an `m` key that +then sends the graphics escape code as usual, with the addition of an `m` key that must have the value `1` for all but the last chunk, where it must be `0`. For example, if the data is split into three chunks, the client would send the following sequence of escape codes to the terminal emulator: