diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 22:59:25 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 23:58:31 -0300 |
| commit | 3ebdbe26a14546f8e4ee06462850aad85f1c9646 (patch) | |
| tree | 10b81fa631e70d5ec0659ea05bb770587cf99405 /test/process | |
| parent | dfcc040ac979b695dc2e68b9d866c2769ba6d928 (diff) | |
| download | pardes-3ebdbe26a14546f8e4ee06462850aad85f1c9646.tar.gz pardes-3ebdbe26a14546f8e4ee06462850aad85f1c9646.zip | |
settings #3, the terminal's three go, each the value it had by default: Pager (a terminal's shell pages into a +Pager where the environment names no pager, so PAGER and GIT_PAGER set by the user are what an opt-out is; host_io's Paging.terminal_off goes), PagerColor (a +Pager keeps its program's colours; pager.parse loses its colour argument, its callers in Core.zig and ninep/ctl.zig with it) and TermImages (a new terminal draws its images as pixels where it can, Petscii still flips one; terminal.adoptSettings and its call in panes.zig go); deleted tests: "settings: Pager is pardes by default, off taken, anything else refused with its choices" and "PagerColor off: the same text, no spans, overstrike included" (the man page's overstrike case pins what stays); rewritten: TermImages' test as a new terminal drawing pixels, ctl's pager test with the second +Pager keeping its colours, host_io's environment test for the one terminal paging, process/tree's /commands row on Wrap; the reference, setup and changelog say an environment's PAGER is the way out; no golden changes; gates on tui: core-test 964/964, behaviour-test 241/241, unit-test 1480/1481, pane-test 171/172, snap all 105 scripts ok, process-test 0 of 37 failed; gui unit-test 1524/1525
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/process')
| -rw-r--r-- | test/process/tree.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/process/tree.zig b/test/process/tree.zig index 0136cc80..8a0a8e13 100644 --- a/test/process/tree.zig +++ b/test/process/tree.zig @@ -258,7 +258,7 @@ fn discovery(gpa: std.mem.Allocator, exe: [:0]const u8) !void { if (std.mem.eql(u8, which, "arg")) which = w.next().?; try expect(contains(&.{ "root", "pane", "both" }, which)); } - try expect(row(commands, "Pager arg root pardes,off")); + try expect(row(commands, "Wrap arg root on,off")); try expect(std.mem.endsWith(u8, commands, "\n")); try expectEqual(commands.len, (try c.stat("/commands")).length); try c.write(f.at("/pane/{d}/ctl", .{first}), "Msg said through ctl\n"); |
