summaryrefslogtreecommitdiff
path: root/src/replica.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-06 18:22:04 -0300
committerGabriel Schneider <[email protected]>2026-11-06 20:00:43 -0300
commiteeb59b92295e74b956d32e66c3c318e105a391db (patch)
treed7178f0b87c5740a077119705331efa3d0319547 /src/replica.zig
parentb22fa2638bca470bbd8c5ea4768eb0eaaa3e8195 (diff)
downloadpardes-eeb59b92295e74b956d32e66c3c318e105a391db.tar.gz
pardes-eeb59b92295e74b956d32e66c3c318e105a391db.zip
kinds #38, a kind's ticks and views as units of the session's origin (§17.2 B 1): a step of the session's own (a tick, a job's answer, a 9P request, any input no client sends) tells each view whose facts moved and ticks a focus changed or a deadline come, a client's input ticks only the pane its key, click or word went to (which already waits), so a client never guesses a tick and never waits for one; the tick's prefix is in its taped outcome (a Shadow's tag is the authority's from the tape, `told` and the frame's prefix gone, the dump carrying the prefix), Kind.wake says a focus change, the tick wait and Kind.repaint are gone, the post-unit flush stays for the tick after a key; the stall test asserts the replay (0 mispredicted, 0 waited)
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/replica.zig')
-rw-r--r--src/replica.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/replica.zig b/src/replica.zig
index f2c8f8b4..2a2d2f55 100644
--- a/src/replica.zig
+++ b/src/replica.zig
@@ -1911,9 +1911,9 @@ pub const Peers = struct {
ps.t.stamp = null;
ps.screensOut(core, .fill);
ps.unit(peer.id, in.seq);
- // What the step made of a kind's pane (its tick: another layout,
- // the text layer) goes now, not at the next pump's: one may not
- // come before the client looks.
+ // What the step made of a kind's pane (the tick after a key or a
+ // click into it: another layout) goes now, not at the next pump's:
+ // one may not come before the client looks.
ps.screensOut(core, .flush);
}