mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-20 23:44:59 +02:00
spelling
This commit is contained in:
@@ -285,39 +285,39 @@ their interactions with multicell characters.
|
|||||||
**Insert characters** (``CSI @`` aka ``ICH``)
|
**Insert characters** (``CSI @`` aka ``ICH``)
|
||||||
When inserting ``n`` characters at cursor position ``x, y`` all characters
|
When inserting ``n`` characters at cursor position ``x, y`` all characters
|
||||||
after ``x`` on line ``y`` are supposed to be right shifted. This means
|
after ``x`` on line ``y`` are supposed to be right shifted. This means
|
||||||
that any multiline character that intersects with the cells on line ``y`` at ``x``
|
that any multi-line character that intersects with the cells on line ``y`` at ``x``
|
||||||
and beyond must be erased. Any single line multicell character that is
|
and beyond must be erased. Any single line multicell character that is
|
||||||
split by the cells at ``x`` and ``x + n - 1`` must also be erased.
|
split by the cells at ``x`` and ``x + n - 1`` must also be erased.
|
||||||
|
|
||||||
**Delete characters** (``CSI P`` aka ``DCH``)
|
**Delete characters** (``CSI P`` aka ``DCH``)
|
||||||
When deleting ``n`` characters at cursor position ``x, y`` all characters
|
When deleting ``n`` characters at cursor position ``x, y`` all characters
|
||||||
after ``x`` on line ``y`` are supposed to be left shifted. This means
|
after ``x`` on line ``y`` are supposed to be left shifted. This means
|
||||||
that any multiline character that intersects with the cells on line ``y`` at ``x``
|
that any multi-line character that intersects with the cells on line ``y`` at ``x``
|
||||||
and beyond must be erased. Any single line multicell character that is
|
and beyond must be erased. Any single line multicell character that is
|
||||||
split by the cells at ``x`` and ``x + n - 1`` must also be erased.
|
split by the cells at ``x`` and ``x + n - 1`` must also be erased.
|
||||||
|
|
||||||
**Erase characters** (``CSI X`` aka ``ECH``)
|
**Erase characters** (``CSI X`` aka ``ECH``)
|
||||||
When erasing ``n`` characters at cursor position ``x, y`` the ``n`` cells
|
When erasing ``n`` characters at cursor position ``x, y`` the ``n`` cells
|
||||||
starting at ``x`` are supposed ot be cleared. This means that any multicell
|
starting at ``x`` are supposed to be cleared. This means that any multicell
|
||||||
character that intersects with the ``n`` cells starting at ``x`` must be
|
character that intersects with the ``n`` cells starting at ``x`` must be
|
||||||
erased.
|
erased.
|
||||||
|
|
||||||
**Erase display** (``CSI J`` aka ``ED``)
|
**Erase display** (``CSI J`` aka ``ED``)
|
||||||
Any multicell character intersecting with the erased region of the screen
|
Any multicell character intersecting with the erased region of the screen
|
||||||
must be erased. When using mode ``22`` the contents of the screen are first
|
must be erased. When using mode ``22`` the contents of the screen are first
|
||||||
copied into the scrollback, including all multicell characters.
|
copied into the history, including all multicell characters.
|
||||||
|
|
||||||
**Erase in line** (``CSI K`` aka ``EL``)
|
**Erase in line** (``CSI K`` aka ``EL``)
|
||||||
Works just like erase characters above. Any multicell character
|
Works just like erase characters above. Any multicell character
|
||||||
intersecting with the erased cells in the line is erased.
|
intersecting with the erased cells in the line is erased.
|
||||||
|
|
||||||
**Insert lines** (``CSI L`` aka ``IL``)
|
**Insert lines** (``CSI L`` aka ``IL``)
|
||||||
When inserting ``n`` lines at cursor position ``y`` any multiline
|
When inserting ``n`` lines at cursor position ``y`` any multi-line
|
||||||
characters that are split at the line ``y`` must be erased. A split happens
|
characters that are split at the line ``y`` must be erased. A split happens
|
||||||
when the second or subsequent row of the multiline character is on the line
|
when the second or subsequent row of the multi-line character is on the line
|
||||||
``y``. The insertion causes ``n`` lines to be removed from the bottom of
|
``y``. The insertion causes ``n`` lines to be removed from the bottom of
|
||||||
the screen, any multiline characters are split at the bottom of the screen
|
the screen, any multi-line characters are split at the bottom of the screen
|
||||||
must be erased. A split is when any row of the multiline character except
|
must be erased. A split is when any row of the multi-line character except
|
||||||
the last row is on the last line of the screen after the insertion of ``n``
|
the last row is on the last line of the screen after the insertion of ``n``
|
||||||
lines.
|
lines.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user