diff options
Diffstat (limited to 'core/ninep')
| -rw-r--r-- | core/ninep/ctl.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ninep/ctl.zig b/core/ninep/ctl.zig index 033a9808..c7f22b9a 100644 --- a/core/ninep/ctl.zig +++ b/core/ninep/ctl.zig @@ -2264,7 +2264,7 @@ test "a column takes panes until their documented minimums fill it, not until no const new = @backingInt(tree.TopFile.new); while (call(p, .{ .tag = 1, .op = .open, .node = new }).reply.status == .ok) p.sync(); p.sync(); - const avail = p.view().screen_h - (p.topBarHeight() + layout.columnBarHeight(p)); + const avail = p.view().screen_h - (p.topBarHeight() + layout.columnBarHeight(p) + layout.noticeRowHeight(p)); for (0..p.view().ncol) |c| { var need: u32 = 0; for (p.view().cols[c].panes[0..p.view().cols[c].n]) |k| need += layout.minRows(p, k); |
