diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-04 20:54:21 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-04 21:12:33 -0300 |
| commit | 0ff1fc99eb870f8a1e714a71c1a853066737c822 (patch) | |
| tree | 2c8b4720e2ed190e6f9062cfe8586c3da22aeb42 /src/host_io.zig | |
| parent | 3b082687c7da1c5d8cc52c71fdf4ddd38d860cd8 (diff) | |
| download | pardes-0ff1fc99eb870f8a1e714a71c1a853066737c822.tar.gz pardes-0ff1fc99eb870f8a1e714a71c1a853066737c822.zip | |
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 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/host_io.zig')
| -rw-r--r-- | src/host_io.zig | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
