mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-21 23:05:20 +00:00
lots more sequences
This commit is contained in:
8
docs/sequences/hts.md
Normal file
8
docs/sequences/hts.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Horizontal Tab Set
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| Text | `ESC H` |
|
||||
| Hex | `0x18 0x48` |
|
||||
|
||||
Mark the current cursor colum as a tab stop.
|
||||
19
docs/sequences/ind.md
Normal file
19
docs/sequences/ind.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Index
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| Text | `ESC D` |
|
||||
| Hex | `0x18 0x44` |
|
||||
|
||||
Move the cursor to the next line in the scrolling region, scrolling
|
||||
if necessary. This always unsets the pending wrap state.
|
||||
|
||||
If the cursor is currently outside the scrolling region:
|
||||
|
||||
* move the cursor down one line if it is not on bottom line of the screen.
|
||||
|
||||
If the cursor is inside the scrolling region:
|
||||
|
||||
* If the cursor is on the bottom-most line of the screen: invoke
|
||||
[scroll up](su.md) with the value `1`.
|
||||
* Else: move the cursor one line down.
|
||||
8
docs/sequences/nel.md
Normal file
8
docs/sequences/nel.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Index
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| Text | `ESC E` |
|
||||
| Hex | `0x18 0x45` |
|
||||
|
||||
Invoke [carriage return](cr.md) and then [index](ind.md).
|
||||
21
docs/sequences/ri.md
Normal file
21
docs/sequences/ri.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# Reverse Index
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| Text | `ESC M` |
|
||||
| Hex | `0x18 0x4D` |
|
||||
|
||||
Reverse [index](ind.md). This unsets the pending wrap state.
|
||||
|
||||
If the cursor is outside of the scrolling region:
|
||||
|
||||
* move the cursor one line up unless it is the top-most line of the screen.
|
||||
|
||||
If the cursor is inside the scrolling region:
|
||||
|
||||
* If the cursor is on the top-most line: invoke [scroll down](#) with value `1`
|
||||
* Else: move the cursor one line up.
|
||||
|
||||
## TODO
|
||||
|
||||
* Scroll region edge cases
|
||||
Reference in New Issue
Block a user