mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
more sequences
This commit is contained in:
@ -23,5 +23,11 @@ Status meanings:
|
||||
| `BEL` | `0x07` | [Bell](sequences/bel.md) | ❌ |
|
||||
| `BS` | `0x08` | [Backspace](sequences/bs.md) | ⚠️ |
|
||||
| `TAB` | `0x09` | [Tab](sequences/tab.md) | ⚠️ |
|
||||
| `LF` | `0x0A` | [Linefeed](sequences/lf.md) | ✅ |
|
||||
| `LF` | `0x0A` | [Linefeed](sequences/lf.md) | ⚠️ |
|
||||
| `VT` | `0x0B` | [Vertical Tab](sequences/vt.md) | ✅ |
|
||||
| `FF` | `0x0C` | [Form Feed](sequences/ff.md) | ✅ |
|
||||
| `CR` | `0x0D` | [Carriage Return](sequences/cr.md) | ⚠️ |
|
||||
| `SO` | `0x0E` | [Shift Out](#) | ❌ |
|
||||
| `SI` | `0x0F` | [Shift In](#) | ❌ |
|
||||
| `CAN` | `0x18` | [Cancel Parsing](sequences/can.md) | ✅ |
|
||||
| `SUB` | `0x1A` | [Cancel Parsing (Alias)](sequences/can.md) | ✅ |
|
||||
|
10
docs/sequences/can.md
Normal file
10
docs/sequences/can.md
Normal file
@ -0,0 +1,10 @@
|
||||
# Cancel Parsing
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| Text | |
|
||||
| Hex | `0x18` or `0x1A` |
|
||||
|
||||
Cancels sequence parsing. Any partially completed sequence such as `ESC`
|
||||
can send `0x18` and revert back to an unparsed state. The sequence characters
|
||||
up to that point are discarded.
|
13
docs/sequences/cr.md
Normal file
13
docs/sequences/cr.md
Normal file
@ -0,0 +1,13 @@
|
||||
# Carriage Return
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| Text | |
|
||||
| Hex | `0x0D` |
|
||||
|
||||
Moves the cursor to the left-most column and resets any pending wrap flags.
|
||||
|
||||
## TODO
|
||||
|
||||
* Integration with left/right scrolling margins
|
||||
* Integration with origin mode
|
8
docs/sequences/ff.md
Normal file
8
docs/sequences/ff.md
Normal file
@ -0,0 +1,8 @@
|
||||
# Form Feed
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| Text | |
|
||||
| Hex | `0x0C` |
|
||||
|
||||
Equivalent to [linefeed](lf.md).
|
Reference in New Issue
Block a user