From 9991a90aae7f4591e63e5ecb0ab2467a348ed54e Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 6 Nov 2026 13:18:42 -0300 Subject: kinds #22, a kind's frame as its tick left it: a step that ticks a kind paints it once for the live view (Kind.repaint) before its tag is laid out, where the tag took what the frame before the tick placed and the next input's step another (a replica's guess of that input, the last step's tag, missed: 13 of the 30 ms cell's 14 visible rollbacks), so a pane of a kind's tag has its art words from its first step (the fake and pdf addon scripts' windows a row shorter), and an input's step sends each client what it made of a kind's pane after its unit, not at the next pump (a terminal client looked at the frame from before its own key's tick, the text layer missing from its view) Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/replica.zig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/replica.zig') diff --git a/src/replica.zig b/src/replica.zig index c5e3fd34..e3deff40 100644 --- a/src/replica.zig +++ b/src/replica.zig @@ -1911,6 +1911,10 @@ 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. + ps.screensOut(core, .flush); } const ScreensOut = enum { flush, fill }; -- cgit v1.3