summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 20:54:21 -0300
committerGabriel Schneider <[email protected]>2026-11-04 21:12:33 -0300
commit0ff1fc99eb870f8a1e714a71c1a853066737c822 (patch)
tree2c8b4720e2ed190e6f9062cfe8586c3da22aeb42 /src/gui
parent3b082687c7da1c5d8cc52c71fdf4ddd38d860cd8 (diff)
downloadpardes-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/gui')
-rw-r--r--src/gui/gui.zig10
1 files changed, 5 insertions, 5 deletions
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;