summaryrefslogtreecommitdiff
path: root/src/replica.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 20:54:21 -0300
committerGabriel Schneider <[email protected]>2026-11-04 21:12:33 -0300
commit0ff1fc99eb870f8a1e714a71c1a853066737c822 (patch)
tree2c8b4720e2ed190e6f9062cfe8586c3da22aeb42 /src/replica.zig
parent3b082687c7da1c5d8cc52c71fdf4ddd38d860cd8 (diff)
downloadpardes-0ff1fc99eb870f8a1e714a71c1a853066737c822.tar.gz
pardes-0ff1fc99eb870f8a1e714a71c1a853066737c822.zip
rename: the terminal frontend is the tui (-Dplatform=tui, src/tui/tui.zig, --tui with --tty kept as its old spelling, the process tests' backend .tui and --backend=tui, docs/typ/builtins-tui.json, the Settings report's platform), and the builtin Tty is Term (its registry entry, SPC n t, every default tag, the docs, tests and snap scripts), Tty still run as Term through exec.acme_words, Tty+fish too on a tag and a ctl; tty as a pane's raw mode and as the OS's terminal unchanged
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/replica.zig')
-rw-r--r--src/replica.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/replica.zig b/src/replica.zig
index 8cacb075..a6014f5b 100644
--- a/src/replica.zig
+++ b/src/replica.zig
@@ -2109,7 +2109,7 @@ pub const Peers = struct {
}
/// Every client told `why` and let go, its view with it: an Upgrade's
- /// exec is next (tty.zig `upgradeNow`). What each was sent goes first,
+ /// exec is next (tui.zig `upgradeNow`). What each was sent goes first,
/// for up to 200 ms; a client then dials the session again.
pub fn refuseAll(ps: *Peers, core: *Pardes, why: []const u8) void {
if (ps.count() == 0) return;
@@ -2757,7 +2757,7 @@ pub fn readLink(gpa: Allocator, fd: c_int, rest: *Framer, ctx: anytype, comptime
rest.run(gpa, fd, ctx, Take.take);
}
-/// A replica client's link to its session, the terminal's (tty.zig
+/// A replica client's link to its session, the terminal's (tui.zig
/// `remote`) and the window's (gui.zig `remote`): its replica, its socket,
/// what the session said, and what it checks. Drawing is the frontend's.
pub const Link = struct {
@@ -3666,7 +3666,7 @@ test "a host's Adopt and a terminal reader's failure are inputs: a replica makes
defer a.core.gpa.free(bytes);
const r = try Replica.initDump(gpa, 1, 0, bytes, .{ .cols = 80, .rows = 24 });
defer r.deinit();
- // What tty.zig's and gui.zig's adoptShell and a failed reader do between
+ // What tui.zig's and gui.zig's adoptShell and a failed reader do between
// steps: they wrote the core straight, and every client joined again.
const host = Stepping.begin(&a.t, null);
const id = a.core.adoptShell().?;