Merge branch 'dankamongmen/deflate-docs' of https://github.com/dankamongmen/kitty

This commit is contained in:
Kovid Goyal 2021-03-10 08:07:32 +05:30
commit 3c1c8ecd20
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -194,15 +194,16 @@ Compression
~~~~~~~~~~~~~ ~~~~~~~~~~~~~
The client can send compressed image data to the terminal emulator, by specifying the The client can send compressed image data to the terminal emulator, by specifying the
``o`` key. Currently, only zlib based deflate compression is supported, which is specified using ``o`` key. Currently, only RFC1950-style zlib based deflate compression is
``o=z``. For example:: supported, which is specified using ``o=z``. For example::
<ESC>_Gf=24,s=10,v=20,o=z;<payload><ESC>\ <ESC>_Gf=24,s=10,v=20,o=z;<payload><ESC>\
This is the same as the example from the RGB data section, except that the This is the same as the example from the RGB data section, except that the
payload is now compressed using deflate. The terminal emulator will decompress payload is now compressed using deflate (this occurs prior to base64-encoding).
it before rendering. You can specify compression for any format. The terminal The terminal emulator will decompress it before rendering. You can specify
emulator will decompress before interpreting the pixel data. compression for any format. The terminal emulator will decompress before
interpreting the pixel data.
The transmission medium The transmission medium