summaryrefslogtreecommitdiff
path: root/test/snapshot.zig
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 /test/snapshot.zig
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 'test/snapshot.zig')
-rw-r--r--test/snapshot.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/snapshot.zig b/test/snapshot.zig
index 95d07cc7..00585018 100644
--- a/test/snapshot.zig
+++ b/test/snapshot.zig
@@ -1132,7 +1132,7 @@ fn readProc(buf: []u8, path: [*:0]const u8) ?[]const u8 {
/// What a capture is made of: grid text, cursor cell, and a compact digest of
/// every cell style. Style used not to matter to `stable`, which let a
-/// color-only animation look idle while the TTY frontend was deliberately
+/// color-only animation look idle while the TUI frontend was deliberately
/// asleep between frames; a following `snapstyle` then caught a midpoint.
fn stateKey(h: *eh.Harness) ![]u8 {
const text = try h.screenText();
@@ -1455,7 +1455,7 @@ fn styleRows(arena: std.mem.Allocator, h: *eh.Harness) ![]const []const u8 {
var run_len: usize = 0;
var run_start: u16 = 0;
// A blank's ink shows nowhere, and the tty leaves whatever ink the
- // terminal had there (tty.zig blankInk), so it depends on the frames
+ // terminal had there (tui.zig blankInk), so it depends on the frames
// before: a blank is written with the ink of the cell before it.
var ink_buf: [16]u8 = undefined;
var ink: []const u8 = "d";