diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-04 20:54:21 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-04 21:12:33 -0300 |
| commit | 0ff1fc99eb870f8a1e714a71c1a853066737c822 (patch) | |
| tree | 2c8b4720e2ed190e6f9062cfe8586c3da22aeb42 /test/perf.zig | |
| parent | 3b082687c7da1c5d8cc52c71fdf4ddd38d860cd8 (diff) | |
| download | pardes-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/perf.zig')
| -rw-r--r-- | test/perf.zig | 4 |
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| { |
