summaryrefslogtreecommitdiff
path: root/src/terminal.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-30 15:57:57 -0300
committerGabriel Schneider <[email protected]>2026-10-30 16:29:54 -0300
commitf7a0b6d902f001cff0343e11263868c5356f33c6 (patch)
tree5d063c3f6a7d08a360b7bd3f7955221414101299 /src/terminal.zig
parent5b120f481a5e581d5252c41a4ddcc3e28c8a07f3 (diff)
downloadpardes-f7a0b6d902f001cff0343e11263868c5356f33c6.tar.gz
pardes-f7a0b6d902f001cff0343e11263868c5356f33c6.zip
tape: an error crosses by its name, a stat as fs.OsStat, and the tape's shape is in wire.semantics: a replica of another build read its session's units as its own build's, so a window client of a terminal's session, or of the box's, read every error by a number its build gives another (451 of 505 names numbered otherwise in the Linux terminal's and window's builds, 244 between Linux and FreeBSD: pardes-gui replaying a terminal's tape panicked at `unexpected error code, found error.NonLocalPath`, and so did main's window client of a session on the box at its Look of a fifo) and a FreeBSD stat out of step (nlink 8 bytes there, 4 here); a name this build's set lacks is a divergence (error.NoSuchError), never another error; an anyerror (a host's report) reads back as one of tape.Failure's, a Debug build panicking at one outside it as it is taped; tape.shape (each taped type's fields, tags, enum names and numbers) in semantics refuses, in words, builds whose tapes differ (the stat taped as before: the Linux and FreeBSD builds hash to two), and a site whose result tape.results does not list is a compile error; walk's test of an error by its name
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/terminal.zig')
-rw-r--r--src/terminal.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal.zig b/src/terminal.zig
index acff68f4..63ce4f36 100644
--- a/src/terminal.zig
+++ b/src/terminal.zig
@@ -1188,7 +1188,7 @@ fn pointerRowCount(pane: *const Pane) usize {
/// erased it, whether the screen was cleared, whether its pages lived and
/// whether a pin could not be made. Taped: a screen-state replica, which
/// ingests nothing, is told the authority's.
-const Told = struct { rows: []const i32, erased: []const bool, cleared: bool, alive: bool, failed: bool };
+pub const Told = struct { rows: []const i32, erased: []const bool, cleared: bool, alive: bool, failed: bool };
fn told(t: Told) Told {
return t;