Files
ghostty/src
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-28 15:52:01 -05:00
2026-07-21 12:35:05 -07:00
2026-03-15 20:58:43 -04:00
2026-07-21 12:35:05 -07:00
2026-07-30 08:51:38 -07:00
2026-07-21 17:19:16 -07:00
2025-10-03 18:52:26 +02:00
2026-07-21 17:19:16 -07:00
2026-07-21 12:35:05 -07:00
2026-07-21 17:19:16 -07:00
2026-07-21 12:35:05 -07:00
2025-11-27 13:37:53 -08:00
2025-11-27 13:37:53 -08:00
2026-07-21 12:35:05 -07:00
2026-07-26 15:38:19 -07:00
2026-07-21 17:19:16 -07:00
2026-07-21 12:35:05 -07:00
2026-07-21 17:19:16 -07:00
2026-07-21 17:19:16 -07:00
2024-08-16 14:35:10 -07:00
2026-07-21 17:19:16 -07:00
2022-08-18 11:42:32 -07:00
2026-03-20 10:37:42 -05:00
2026-07-21 12:35:05 -07:00
2026-07-28 11:04:13 -05:00
2026-07-21 12:35:05 -07:00