diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-20 06:56:46 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-20 06:56:46 -0300 |
| commit | 2c2800c93e5417297dd06d3e52d5d336d975560c (patch) | |
| tree | a028181f6c0fa1115df2f4862622fefb954a62d5 /core/keys.zig | |
| parent | ffe05cceb897b3ae6a6d36491f9318a8aa3426e7 (diff) | |
| parent | 0165bc532446e61a74af604c493d6b354abf798a (diff) | |
| download | pardes-2c2800c93e5417297dd06d3e52d5d336d975560c.tar.gz pardes-2c2800c93e5417297dd06d3e52d5d336d975560c.zip | |
integration: a client that joins during a 9P pty/run replays it as its session does, and a far client's Del question is instant, on the build's second pass: pardes-faults-3 (a 9P open's handle is the session's recorded answer; a run reads its terminal's prompt marks through the tape's prompt site; a rejoin that lands as the session ends says so; Del sets question_asked and the host's pump gives it its time: the step reads no clock, so the bytes soak's one stop off may_wait, now, is gone) and pardes-merge32, merged without a textual conflict; the coordinator's gate in the ledger (reorg/merge33)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/keys.zig')
| -rw-r--r-- | core/keys.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/keys.zig b/core/keys.zig index 72e3bb3b..8bfe8315 100644 --- a/core/keys.zig +++ b/core/keys.zig @@ -717,6 +717,9 @@ test "the Del question shows only once its delay is up: a quick SPC d j never se p.update(.{ .key = .{ .cp = 'd' } }); const pane = p.panes[mid].?; try std.testing.expectEqual(Pane.Prompt.del_side, pane.prompt); + // Its time is the next advance's (the host's clock, in its pump). + try std.testing.expectEqual(Pane.question_asked, pane.question_due_ns); + p.advance(asked_at); try std.testing.expectEqual(asked_at + config.del_question_delay_ns, pane.question_due_ns); // Asked, and nothing on the band yet. _ = try p.render(frame.allocator()); |
