diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-16 23:37:14 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 12:15:01 -0300 |
| commit | e4fbb97a506ca2a4b469b6e2e13ecba6e516272c (patch) | |
| tree | 9872f6ecfea4192c88e49e3439061a686bd6d9ed /src/replica.zig | |
| parent | f25313ebb776aa4cca2dfbc49d3d3ff96dae161d (diff) | |
| download | pardes-e4fbb97a506ca2a4b469b6e2e13ecba6e516272c.tar.gz pardes-e4fbb97a506ca2a4b469b6e2e13ecba6e516272c.zip | |
term: the terminal's own files move into src/term/ (terminal.zig, screen_state.zig, echo.zig, TerminalImages.zig), as they are: names and signatures kept, only the import paths change (theirs to ../, pardes.zig's, panes.zig's, tape.zig's, replica.zig's and Kind.zig's to term/), the comments that name them by path follow, and the embedded sources serve terminal.zig at src/term/terminal.zig; the first step of docs/next-terminal.md's Phase 0, a move, nothing else
Diffstat (limited to 'src/replica.zig')
| -rw-r--r-- | src/replica.zig | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/replica.zig b/src/replica.zig index dd6f34bc..c5ec4aec 100644 --- a/src/replica.zig +++ b/src/replica.zig @@ -30,7 +30,7 @@ const walk = @import("walk.zig"); const wire = @import("wire.zig"); const daemon = @import("daemon.zig"); const writeAll = daemon.writeAll; -const screen_state = @import("screen_state.zig"); +const screen_state = @import("term/screen_state.zig"); const c_heap = @import("c_heap"); const terminal = pardes.panes.terminal; const Allocator = std.mem.Allocator; @@ -281,7 +281,7 @@ pub const Authority = struct { } }; -// ---- terminals as screen state (src/screen_state.zig) ---- +// ---- terminals as screen state (src/term/screen_state.zig) ---- // // A message of either side is u8 pane, u32 the pane's serial (a slot's // next pane is another), u8 kind, and the kind's bytes: @@ -680,7 +680,7 @@ pub const Replica = struct { screen_out: std.ArrayListUnmanaged(u8) = .empty, /// Its Shadows' rasters, from the session's strips (17.3). blobs: screen_state.Blobs = .{}, - /// Its predicted echo (src/echo.zig), drawn over its core's terminals: + /// Its predicted echo (src/term/echo.zig), drawn over its core's terminals: /// fed by its keys, its units and its deltas here, and by `echoFrame`. echo: pardes.echo.Echo = .{}, @@ -754,7 +754,7 @@ pub const Replica = struct { c.in_len = 0; c.in_head = 0; tape.adoptCore(&r.t, c); - // Its keys into a terminal drawn at once (src/echo.zig). + // Its keys into a terminal drawn at once (src/term/echo.zig). c.echo = &r.echo; return r; } @@ -1852,7 +1852,7 @@ pub const Peers = struct { boundary_ns: std.ArrayListUnmanaged(u64) = .empty, cut: u32 = 0, head: [unit_head]u8 = undefined, - /// Its clients' terminals as screen state (src/screen_state.zig), while + /// Its clients' terminals as screen state (src/term/screen_state.zig), while /// it records: what each was sent. screens: Screens = undefined, msgs: std.ArrayListUnmanaged([]u8) = .empty, |
