diff options
Diffstat (limited to 'src/replica.zig')
| -rw-r--r-- | src/replica.zig | 6 |
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().?; |
