From 7ba57610929544bf3d1b3d0bf65dbb039d97942b Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 29 Oct 2026 18:04:38 -0300 Subject: snapshots: dump, load, restore, tagnav and headersweep-restored show the session as it was dumped: a terminal's view, its prompts hidden in text mode, a pane's message, typed text over its history Co-Authored-By: Claude Opus 5.5 --- src/tape.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tape.zig') diff --git a/src/tape.zig b/src/tape.zig index 3573d887..d4fb7756 100644 --- a/src/tape.zig +++ b/src/tape.zig @@ -983,6 +983,8 @@ pub fn replayMain(io: std.Io, path: []const u8) u8 { if (t.diverged) |why| if (std.mem.startsWith(u8, why, "the tape ends")) { t.diverged = null; }; + // One killed (as the harnesses end theirs) has its end state here. + if (t.dump_check and t.diverged == null) if (t.core) |core| t.dumpRoundTrip(core); if (t.diverged) |why| { failed = true; std.debug.print("replay {s}: {s} replica diverged after {d} digests: {s}\n", .{ path, run.name, t.digests, why }); -- cgit v1.3