summaryrefslogtreecommitdiff
path: root/test/e2e_harness.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/e2e_harness.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/e2e_harness.zig')
-rw-r--r--test/e2e_harness.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e_harness.zig b/test/e2e_harness.zig
index 6011ba16..6d0a43ca 100644
--- a/test/e2e_harness.zig
+++ b/test/e2e_harness.zig
@@ -91,7 +91,7 @@ pub const Harness = struct {
return initArgs(gpa, exe, rows, cols, null);
}
- /// Like init, but passes one extra CLI arg to the app (e.g. "--tty").
+ /// Like init, but passes one extra CLI arg to the app (e.g. "--tui").
pub fn initArgs(gpa: std.mem.Allocator, exe: [*:0]const u8, rows: u16, cols: u16, arg: ?[*:0]const u8) !Harness {
var argv: [2]?[*:0]const u8 = .{ null, null };
if (arg) |a| argv[0] = a;
@@ -221,7 +221,7 @@ pub const Harness = struct {
/// The app's output into the emulator. The one query answered is the
/// device status request (`CSI 5 n` → `CSI 0 n`), as every terminal
/// does: the tty asks it after each frame and draws no other until the
- /// answer (FrameAck in src/tty/tty.zig).
+ /// answer (FrameAck in src/tui/tui.zig).
fn feed(self: *Harness, bytes: []const u8) void {
self.stream.nextSlice(bytes);
const request = "\x1b[5n";