This commit is contained in:
Mitchell Hashimoto
2022-07-13 09:46:37 -07:00
parent def6fa5f2a
commit afcb99dcdc
3 changed files with 54 additions and 0 deletions

24
docs/sequences/bel.md Normal file
View File

@@ -0,0 +1,24 @@
# Bell
| | |
| --- | --- |
| Text | |
| Hex | `0x07` |
Rings a "bell" to alert the operator to some condition.
## Implementation Details
* ghostty logs "BELL"
## TODO
* Add a configurable visuable bell -- common in most terminal emulators --
to flash the border.
* Mark the window as requesting attention, most operating systems support
this. For example, Windows windows will flash in the toolbar.
* Support an audible bell.
## References
* https://vt100.net/docs/vt100-ug/chapter3.html

19
docs/sequences/bs.md Normal file
View File

@@ -0,0 +1,19 @@
# Backspace
| | |
| --- | --- |
| Text | |
| Hex | `0x08` |
Move the cursor left one cell.
TODO: Details about how this interacts with soft wrapping.
## Implementation Details
* ghostty implements this naively as `cursor.x -|= 1` (`-|=` being a
saturating substraction).
## TODO
* Soft wrap integration