summaryrefslogtreecommitdiff
path: root/dev/tui/tui.zig
diff options
context:
space:
mode:
Diffstat (limited to 'dev/tui/tui.zig')
-rw-r--r--dev/tui/tui.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/tui/tui.zig b/dev/tui/tui.zig
index df2d0016..142e56bf 100644
--- a/dev/tui/tui.zig
+++ b/dev/tui/tui.zig
@@ -661,7 +661,7 @@ fn linkReader(gpa: std.mem.Allocator, fd: posix.fd_t, rest: *replica.Framer, loo
/// `pardes --attach=<socket>:<session>` (and `<host>:<session>`, through
/// ssh, main.zig): this terminal a replica client of a session elsewhere
/// (docs/next-daemon.md, "Phase 5 part B notes"). Its own core, loaded
-/// from the session's dump, applies its keys at once (src/replica.zig);
+/// from the session's dump, applies its keys at once (core/replica.zig);
/// the session's units are the truth it rolls back to. Its own view of the
/// session is drawn here, as the session draws its terminals'.
pub fn runClient(init: std.process.Init, opts: pardes.Options, path: []const u8, session: []const u8, far_link: bool) !void {
@@ -1242,7 +1242,7 @@ const Shell = struct {
upgrade_asked: ?u8 = null,
/// Its pty readers stopped for it: their end of file is not a shell's.
upgrading: bool = false,
- /// The session's replica clients (src/replica.zig), on sockets.
+ /// The session's replica clients (core/replica.zig), on sockets.
peers: replica.Peers = .{},
/// This wait took only a replica's post (its input, its join): the
/// pump after it reads no new time, so it moves nothing the replicas'
@@ -1590,7 +1590,7 @@ const Shell = struct {
// an RTT later).
// Detached, its clients' echo is the frame's after an input: what a
// flood says after that goes a unit a frame (their own echo is
- // predicted, src/echo.zig), not a unit and a delta a read for a second.
+ // predicted, core/echo.zig), not a unit and a delta a read for a second.
const echo_ns: u64 = if (s.detached()) pardes.frame_ns else std.time.ns_per_s;
while (!paced and s.output_seen and !s.input_seen and !s.core.quit and s.test_clock == null) {
if (s.input_ns > s.drawn_ns) break;