summaryrefslogtreecommitdiff
path: root/abi/wire.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-23 09:02:14 -0300
committerGabriel Schneider <[email protected]>2026-11-23 09:02:14 -0300
commit62479337e68da42e013e449ef680826a323354f1 (patch)
tree78240b991aa9bf211e2e7bd4ebc32aad25c680ff /abi/wire.zig
parent5a864360e6b0e72fc9734ab76c085a38fe1e60ba (diff)
parent100fe567edc8be7bea9b36ae7fbf20cc66d55164 (diff)
downloadpardes-62479337e68da42e013e449ef680826a323354f1.tar.gz
pardes-62479337e68da42e013e449ef680826a323354f1.zip
merge: the link's rejoin over the same connection (pardes-rejoin, `rnllpvzw`) under the pair's round 13 (pardes-pair-13: `xmrlkxtn` on `prnotlyq` on `nrollumu`)
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'abi/wire.zig')
-rw-r--r--abi/wire.zig12
1 files changed, 8 insertions, 4 deletions
diff --git a/abi/wire.zig b/abi/wire.zig
index 8949edff..7b6a22f1 100644
--- a/abi/wire.zig
+++ b/abi/wire.zig
@@ -12,9 +12,12 @@ const build_info = @import("build_info");
/// 31: where a view stands in a terminal's history is the view's: a pane's
/// `scrolled_to` (and its share's in each view) in the dump and the digest,
-/// the emulator's own view out of both (its `Parts.view` gone); and the
+/// the emulator's own view out of both (its `Parts.view` gone); the
/// core's count of its emulators' writes (`outside`) in both, which the
-/// replica engine's one question of a unit reads;
+/// replica engine's one question of a unit reads; and a client whose link
+/// is up joins again over it (its bye's `again`, then its hello there:
+/// core/replica.zig `Peers.joinAgain`), as one whose load was refused asks
+/// once more;
/// 30: the terminals' one road: the screen-state messages are retired (a
/// replica's `screen_ack`, 0x04, and the session's `screen`, 0x06: gaps),
/// a welcome says no road (its `bytes` byte gone), and a pane's
@@ -324,8 +327,9 @@ pub fn helloVersion(payload: []const u8) Error!u16 {
/// one call and no longer.
pub const ClientMsg = union(enum) {
hello: Hello,
- /// The client's end: `again`, it joins again for its view at once;
- /// `close`, its window was closed (a pair's session ends at its last).
+ /// The client's end: `again`, it joins again for its view at once (its
+ /// hello next, on this link while it is up); `close`, its window was
+ /// closed (a pair's session ends at its last).
bye: struct { again: bool = false, close: bool = false },
/// A round trip's probe, answered `pong` with the same value.
ping: u64,