mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-09-03 21:00:27 +00:00
This adds new functions to both C and Zig to write VT data until the VT parser reaches a "ground" state. The ground state is when the parser/stream is stateless: between all partial UTF-8, OSC, CSI, etc. This lets embedders safely interleave custom VT sequences from multiple sources. A practical example is a standard terminal reading from a pty that is then doing custom APC or something mid-stream for their emulator client.