From 0ff1fc99eb870f8a1e714a71c1a853066737c822 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 4 Nov 2026 20:54:21 -0300 Subject: rename: the terminal frontend is the tui (-Dplatform=tui, src/tui/tui.zig, --tui with --tty kept as its old spelling, the process tests' backend .tui and --backend=tui, docs/typ/builtins-tui.json, the Settings report's platform), and the builtin Tty is Term (its registry entry, SPC n t, every default tag, the docs, tests and snap scripts), Tty still run as Term through exec.acme_words, Tty+fish too on a tag and a ctl; tty as a pane's raw mode and as the OS's terminal unchanged Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/gui/gui.zig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui') diff --git a/src/gui/gui.zig b/src/gui/gui.zig index 50baf9ec..15347eb6 100644 --- a/src/gui/gui.zig +++ b/src/gui/gui.zig @@ -2672,7 +2672,7 @@ const Client = struct { } /// Its own view drawn in the window, outside any step, as the tty's - /// client draws its terminal (tty.zig `Remote.draw`): what presenting + /// client draws its terminal (tui.zig `Remote.draw`): what presenting /// writes in the core (a frame skipped, one owed) is put back. fn draw(cl: *Client, s: *Shell) void { const r = cl.link.r; @@ -4205,10 +4205,10 @@ const Shell = struct { windowed: u8 = 1, /// 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' - /// speculations stand on (tty.zig's `mail_only`). + /// speculations stand on (tui.zig's `mail_only`). mail_only: bool = false, waited: bool = false, - /// With replica clients, a wait takes one person's input (tty.zig + /// With replica clients, a wait takes one person's input (tui.zig /// `split`): the next is held for the next wait. took_input: bool = false, held: ?c.SDL_Event = null, @@ -4399,7 +4399,7 @@ const Shell = struct { } /// With replica clients, a wait takes one person's input and its pump - /// makes one unit of it (tty.zig `split`): whether `sev`, a second, is + /// makes one unit of it (tui.zig `split`): whether `sev`, a second, is /// held for the next wait. Any event but a wake is no replica's post. fn split(s: *Shell, sev: *const c.SDL_Event) bool { if (sev.type != c.SDL_EVENT_USER) s.mail_only = false; @@ -4574,7 +4574,7 @@ const Shell = struct { } /// One shell of a dead session (`pid` 0: the last of them was told): - /// a terminal pane made for it, as the Tty word makes one, whose spawn + /// a terminal pane made for it, as the Term word makes one, whose spawn /// takes this pty (spawnPane). fn adoptShell(s: *Shell, pid: libc.pid_t, fd: c_int) void { const core = s.core; -- cgit v1.3