summaryrefslogtreecommitdiff
path: root/abi/wire.zig
diff options
context:
space:
mode:
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,