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/detached/wire.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/detached') diff --git a/src/detached/wire.zig b/src/detached/wire.zig index 337211b7..f73dee13 100644 --- a/src/detached/wire.zig +++ b/src/detached/wire.zig @@ -28,7 +28,7 @@ pub const version: u16 = 19; /// The terminal's build and the window's step alike (`semantics`). const family = switch (config.platform) { - .tty, .gui => "desktop", + .tui, .gui => "desktop", else => @tagName(config.platform), }; @@ -269,7 +269,7 @@ pub fn helloVersion(payload: []const u8) Error!u16 { } /// Frontend -> core, decoded. The `Event`'s slices BORROW the payload buffer, -/// exactly like the pty chunks the tty host hands to `update`: valid for that +/// exactly like the pty chunks the tui host hands to `update`: valid for that /// one call and no longer. pub const ClientMsg = union(enum) { hello: Hello, -- cgit v1.3