formatting

This commit is contained in:
Kovid Goyal 2020-08-11 20:19:29 +05:30
parent df0c5d99e6
commit 95132b4fe1
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -78,9 +78,10 @@ terminals should be modified to return the correct values. Examples of
terminals that return correct values: ``kitty, xterm`` terminals that return correct values: ``kitty, xterm``
You can also use the *CSI t* escape code to get the screen size. Send You can also use the *CSI t* escape code to get the screen size. Send
``<ESC>[14t`` to *stdout* and kitty will reply on *stdin* with ``<ESC>[14t`` to ``STDOUT`` and kitty will reply on ``STDIN`` with
``<ESC>[4;<height>;<width>t`` where *height* and *width* are the window size in ``<ESC>[4;<height>;<width>t`` where ``height`` and ``width`` are the window
pixels. This escape code is supported in many terminals, not just kitty. size in pixels. This escape code is supported in many terminals, not just
kitty.
A minimal example A minimal example
------------------ ------------------