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/host_io.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/host_io.zig') diff --git a/src/host_io.zig b/src/host_io.zig index 3b91ea7e..5cdf6e0d 100644 --- a/src/host_io.zig +++ b/src/host_io.zig @@ -1456,7 +1456,7 @@ pub const Shell = struct { return true; } - /// Why `bin` is no shell, for the words that name one (Tty, Shell); + /// Why `bin` is no shell, for the words that name one (Term, Shell); /// null when it is one. pub fn refusal(bin: []const u8, said: []u8) ?[]const u8 { var buf: [std.fs.max_path_bytes]u8 = undefined; @@ -2003,7 +2003,7 @@ pub fn forkShell( }; var master: c_int = -1; var path_buf: [std.fs.max_path_bytes]u8 = undefined; - // A terminal opened on a shell of its own (`Tty fish`) runs that one, + // A terminal opened on a shell of its own (`Term fish`) runs that one, // copied: looking it up gives the turn up, and the pane may go. var own_buf: [256]u8 = undefined; var own: ?[]const u8 = null; @@ -2225,7 +2225,7 @@ pub fn marksPrompts(pid: libc.pid_t) bool { } /// The program `pid` runs, where the system says (an adopted shell's, for -/// its pane's Tty word); null elsewhere. +/// its pane's Term word); null elsewhere. pub fn processExe(pid: libc.pid_t, buf: []u8) ?[]const u8 { if (comptime builtin.os.tag == .freebsd) { const n = kernProc(pid, 12, buf) orelse return null; // KERN_PROC_PATHNAME -- cgit v1.3