From b65048ac19f9f47b6faa21d1a9f3d06ba3ff1a95 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 17 Nov 2026 04:20:55 -0300 Subject: docs: the terminal out of the core, as built: docs/next-terminal.md gains Phase 1 as built (the ops a compile-time constant and why, the table, Term.State a struct around the handle and the dump's type name, echo back in the core, the draw group as plain data with the diff colours beside it, the no-terminal core with no boot message and why, the test split by its counts), its not-verified list loses what is now known; building.typ says what core-test, shell-test and term-test build and run, and the term and plain modules; the changelog's entry says the terminal is a module of its own and what core-test and shell-test are --- src/CHANGELOG.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index 2f5d00f0..44d55707 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -2,12 +2,16 @@ ## Unreleased -- The terminal is reached through one interface, `src/Term.zig`, and its - own files (the emulator, its screen state for replicas, predicted echo, - kitty images, the pager's parse) sit behind it in `src/term/`: the - first step of taking the terminal out of the core - (docs/next-terminal.md). Editing a terminal's text is the core's, on a - copy of its rows, as before; nothing a session does changes. +- The terminal is a module of its own (`src/term/`: the emulator, its + screen state for replicas, kitty images, the pager's parse), which never + imports the core and is reached through one table of plain-data + entries, `src/Term.zig` the core's side (docs/next-terminal.md). Editing + a terminal's text is the core's, on a copy of its rows, as before, and + predicted echo stays the core's; nothing a session does changes, and a + session dumped before loads after. `zig build core-test` builds the core + without the terminal (no ghostty, no C++): a shell boot is a scratch + pane there and a test that needs a terminal skips; `zig build + shell-test` runs the same tests with it. - A diff paged (`git show | pardes -`) is a plumbing message, as acme's `plumb -i` sends what it shows: `type text/x-diff` to `edit`, which a -- cgit v1.3