summaryrefslogtreecommitdiff
path: root/abi
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-21 17:47:24 -0300
committerGabriel Schneider <[email protected]>2026-11-21 18:30:04 -0300
commit0000e169c52da6d77e9cf3538896d7202d0a313b (patch)
tree326a58d65dc145314a828c28b896d1d18bb9afe4 /abi
parentf11ba0c54b500d855740c54f26208217793bcef6 (diff)
downloadpardes-0000e169c52da6d77e9cf3538896d7202d0a313b.tar.gz
pardes-0000e169c52da6d77e9cf3538896d7202d0a313b.zip
a terminal showing a kitty image no longer parts a screen-state client from its session: whether the terminal holds an image is the session's fact, `Pane.term_images`, set at its output's step (core/Core.zig `.output`: taped under screen state, tape site `images`, the session's answer replayed on every client, whose emulator is fed cells and never has the image; read directly otherwise, every side fed the same bytes) and read by the tag (core/tagline.zig, for `Term.hasImages` of each side's own emulator, whose ` petscii:on|off` made the digested `tag_lead` longer on the session's side only: every quiet check differed and a plain attach joined again 3.2 times a second for as long as the image was there, the installed build too); taped and not a bit beside the cells because the step that computes the tag is the output's own unit, which a client replays before that pump's flush reaches it; wire 28 (a pane's new field in the join's dump and the digest, the tape's new site; test/daemon.py `WIRE`); daemon.py `--kitty-image` on Debug: 0 joins in 5 s, 3 of 3 (16 before); core-test 898/1060 (162 skipped), shell-test 1102/1105 (3 skipped), term-test 18/18, kitty-test 45/45
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'abi')
-rw-r--r--abi/wire.zig6
1 files changed, 5 insertions, 1 deletions
diff --git a/abi/wire.zig b/abi/wire.zig
index 88a82e52..d7df7bc3 100644
--- a/abi/wire.zig
+++ b/abi/wire.zig
@@ -10,6 +10,10 @@ const pardes = @import("core");
const config = @import("pardes_options");
const build_info = @import("build_info");
+/// 28: whether a terminal holds a kitty image is the session's, taped
+/// after its output (tape site `images`), and a pane's (Pane.term_images)
+/// in its join's dump and its digest: a screen-state client's tag says
+/// what the session's does;
/// 27: a pair's first client makes its own core from the session's
/// options and says its digest (`boot`) before its `far`: the session sends
/// no dump when its own at the join has the same;
@@ -46,7 +50,7 @@ const build_info = @import("build_info");
/// part B); 14: the hello names a session and
/// carries the semantics hash, and a ping is answered (phase 5's
/// groundwork); 13: the frames went (phase 3).
-pub const version: u16 = 27;
+pub const version: u16 = 28;
/// The terminal's build and the window's step alike (`semantics`).
const family = switch (config.platform) {