summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-29 18:31:11 -0300
committerGabriel Schneider <[email protected]>2026-10-29 21:13:33 -0300
commitb4c7b2ff828d258dde78ff2dcded3b226e6d874d (patch)
tree468e1a9d0dd8c88db7b66c69cb3341402048d733 /src/gui
parent84b673d6c01e647c2eaeb6464d1f0a0004b7bd20 (diff)
downloadpardes-b4c7b2ff828d258dde78ff2dcded3b226e6d874d.tar.gz
pardes-b4c7b2ff828d258dde78ff2dcded3b226e6d874d.zip
docs/next-daemon.md: phase 2 notes (the walker dump, crossing builds, load and revive, what the design missed); the GUI's Restore test keeps the dump's serial
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui.zig b/src/gui/gui.zig
index a342cfe2..c550aa4c 100644
--- a/src/gui/gui.zig
+++ b/src/gui/gui.zig
@@ -1109,7 +1109,8 @@ test "GUI PTY Restore joins a real reader waiting for queue space" {
core.deinit();
core = replacement;
shell.core = replacement;
- try std.testing.expect(core.panes[0].?.serial != old_serial);
+ // The dump's pane, its serial too; its old shell stopped all the same.
+ try std.testing.expectEqual(old_serial, core.panes[0].?.serial);
try std.testing.expectEqual(@as(usize, 0), queue.waiting);
try std.testing.expect(queue.readers[0] == null);
try std.testing.expectEqual(@as(c_int, -1), libc.fcntl(child.file.handle, libc.F.GETFD));