summaryrefslogtreecommitdiff
path: root/test/perf.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/perf.zig')
-rw-r--r--test/perf.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/perf.zig b/test/perf.zig
index 31a48cc7..31a813cb 100644
--- a/test/perf.zig
+++ b/test/perf.zig
@@ -1319,7 +1319,7 @@ fn liveYes(l: *Live, exe: [:0]const u8) !void {
var h = try eh.Harness.initArgv(gpa, exe, screen_rows, screen_cols, &.{ "-n", "1" });
errdefer h.dump("live yes");
// The prompt shows in tty mode only: the shell's tag, then Ctrl-b in.
- if (!try h.waitFor("Tty+bash", 20_000)) return error.LiveNoPrompt;
+ if (!try h.waitFor("Term+bash", 20_000)) return error.LiveNoPrompt;
try h.pump(500);
try h.send("\x02");
if (!try h.waitFor("$ ", 20_000)) return error.LiveNoPrompt;
@@ -1387,7 +1387,7 @@ fn measureLive(io: std.Io, exe: []const u8, gui: bool, reps: usize, json: bool)
try liveOpen(&l, exe_z);
liveSweep(io);
}
- const frontend = if (gui) "gui" else "tty";
+ const frontend = if (gui) "gui" else "tui";
const out = std.Io.File.stdout();
var buf: [256]u8 = undefined;
for (live_phases, &l.samples, &l.core) |name, *samples, *core| {