Files
ghostty/src/terminal
Mitchell Hashimoto 70e41e96d3 terminal/snapshot: pty continuation
Builds on #13544

This adds a new CONTINUATION record type that is sent before READY.
CONTINUATION contains the bytes (if any) that will bring a ground-state
VT state machine up to the same state.

This allows snapshotting a terminal instance that is, for example,
blocked waiting for a caller to complet an in-flight Kitty graphics
protocol send. In practice, I think this will be rare. But in theory, it
avoids a DoS-type attack.

The continuation state must be the MINIMAL set of bytes that will move
the virtual terminal state from a ground to non-ground state. The reason
it must be minimal is because any extra bytes can duplicate work into the 
terminal that might already exist.
2026-08-02 06:41:42 -07:00
..
2026-07-21 12:35:05 -07:00
2026-07-21 12:35:05 -07:00
2026-07-26 20:28:58 -07:00
2026-07-21 12:35:05 -07:00
2026-07-21 12:35:05 -07:00
2026-07-26 15:04:16 -07:00
2026-07-21 12:35:05 -07:00
2026-07-21 17:19:16 -07:00
2026-07-28 11:04:13 -05:00
2026-07-21 12:35:05 -07:00
2026-07-27 13:19:37 -04:00
2025-11-27 13:37:53 -08:00
2026-05-23 14:37:59 -07:00
2026-07-21 12:35:05 -07:00