diff options
Diffstat (limited to 'test/hxdiff.zig')
| -rw-r--r-- | test/hxdiff.zig | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/hxdiff.zig b/test/hxdiff.zig index 67b4e777..2409cbb7 100644 --- a/test/hxdiff.zig +++ b/test/hxdiff.zig @@ -327,11 +327,11 @@ fn runCase(arena: std.mem.Allocator, case: Case, pane_kind: []const u8) !Result const core = try pardes.Pardes.init(gpa, .{ .tty_only = true }); defer core.deinit(); // helix's harness runs at 80x24, a view of 22 text rows under its - // status and command lines; pardes's chrome (the workspace and column - // tags, the pane's tag and the notice row) takes two rows more, so 26 - // rows give its pane the same 22 that every page, half page and gb - // counts in - core.update(.{ .resize = .{ .cols = 80, .rows = 26 } }); + // status and command lines; pardes's chrome (the window row, the pane's + // tag and the notice row; a lone column has no column row, UX K'2) + // takes one row more, so 25 rows give its pane the same 22 that every + // page, half page and gb counts in + core.update(.{ .resize = .{ .cols = 80, .rows = 25 } }); pump(core); if (std.mem.eql(u8, pane_kind, "file")) { |
