summaryrefslogtreecommitdiff
path: root/src/ninep/ctl.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninep/ctl.zig')
-rw-r--r--src/ninep/ctl.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninep/ctl.zig b/src/ninep/ctl.zig
index 2d733af6..2151126d 100644
--- a/src/ninep/ctl.zig
+++ b/src/ninep/ctl.zig
@@ -2385,7 +2385,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.screen_h - (p.topBarHeight() + p.columnBarHeight());
+ const avail = p.screen_h - (p.topBarHeight() + layout.columnBarHeight(p));
for (0..p.ncol) |c| {
var need: u32 = 0;
for (p.col_panes[c][0..p.col_n[c]]) |k| need += layout.minRows(p, k);