From e4fbb97a506ca2a4b469b6e2e13ecba6e516272c Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 16 Nov 2026 23:37:14 -0300 Subject: 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 --- src/wire.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wire.zig') diff --git a/src/wire.zig b/src/wire.zig index 3dd08b29..5900c3f7 100644 --- a/src/wire.zig +++ b/src/wire.zig @@ -88,7 +88,7 @@ pub const ClientTag = enum(u8) { hello = 0x01, bye = 0x02, ping = 0x03, - /// A replica's word about a terminal's state (src/screen_state.zig): the + /// A replica's word about a terminal's state (src/term/screen_state.zig): the /// delta it holds, or rows it asks for. Opaque here. screen_ack = 0x04, /// What is the session's digest, in stream order (a replica checks @@ -170,7 +170,7 @@ pub const ServerTag = enum(u8) { /// A unit of the authority's stream (src/replica.zig): its origin, seq, /// clocks and tape. unit = 0x05, - /// A terminal's delta, or rows asked for (src/screen_state.zig), applied + /// A terminal's delta, or rows asked for (src/term/screen_state.zig), applied /// before the next unit. Opaque here. screen = 0x06, /// The session's digest (u64le), after every unit before it. -- cgit v1.3