Parsing
The pages in the other sections each describe a function. These describe the parser underneath them: what happens when a control character turns up in the middle of a sequence, when the parameters are more or stranger than a function expects, and when the bytes are not valid UTF-8. The standards say little about most of this, and terminals differ in the details, so the cases here follow a default xterm and say where libghostty-vt does not.
| C0 in sequences | Controls Inside Sequences | CSI P… BS P… F |
… |
|---|---|---|---|
| Parameters | Parameters | CSI Pn ; Pn ; … F |
… |
| UTF-8 | UTF-8 and C1 Controls | C2 80 … C2 9F |
… |