more sequences

This commit is contained in:
Mitchell Hashimoto
2022-07-14 14:03:37 -07:00
parent 9c547a8645
commit 6ffd830c9b
4 changed files with 38 additions and 1 deletions

View File

@ -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
View 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
View 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
View File

@ -0,0 +1,8 @@
# Form Feed
| | |
| --- | --- |
| Text | |
| Hex | `0x0C` |
Equivalent to [linefeed](lf.md).