summaryrefslogtreecommitdiff
path: root/test/process/repls.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/process/repls.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/process/repls.zig')
-rw-r--r--test/process/repls.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/process/repls.zig b/test/process/repls.zig
index 09e25e96..a6fe07ac 100644
--- a/test/process/repls.zig
+++ b/test/process/repls.zig
@@ -35,7 +35,7 @@ fn pythonRepl(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
const c = try Conn.dial(gpa, d.socket());
defer c.deinit(gpa);
const before = try c.serials(a);
- try c.write("/pane/1/ctl", "Tty\n");
+ try c.write("/pane/1/ctl", "Term\n");
const deadline = process.nowMs() + 10_000;
var tty: u32 = 0;
while (tty == 0 and process.nowMs() < deadline) : (process.nap(50)) {
@@ -43,7 +43,7 @@ fn pythonRepl(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
tty = @max(tty, n);
};
}
- try check(tty != 0, "Tty made no pane", .{});
+ try check(tty != 0, "Term made no pane", .{});
try check(try waitFor(a, c, tty, "$", 15_000) or try waitFor(a, c, tty, ">", 15_000), "no prompt: {s}", .{try c.pane(a, tty, "body")});
try c.write(try std.fmt.allocPrint(a, "/pane/{d}/pty/data", .{tty}), "python3 -q\r");
try check(try waitFor(a, c, tty, ">>>", 15_000), "no >>>: {s}", .{try c.pane(a, tty, "body")});