summaryrefslogtreecommitdiff
path: root/test/e2e_harness.zig
diff options
context:
space:
mode:
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";