summaryrefslogtreecommitdiff
path: root/src/ninep/ctl.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 00:29:20 -0300
committerGabriel Schneider <[email protected]>2026-11-05 01:01:28 -0300
commit2622b04dcf021ff36862a45b6e9c930e5671b9e2 (patch)
tree872b01ce6ce664cd4b9c2190380e1622e4975d46 /src/ninep/ctl.zig
parent1b12f7aadaf0e0a4570a5985900f61d0fb897f79 (diff)
downloadpardes-2622b04dcf021ff36862a45b6e9c930e5671b9e2.tar.gz
pardes-2622b04dcf021ff36862a45b6e9c930e5671b9e2.zip
layout: four wrappers go to their callers: restoreMinima (ctl.zig's size passes restoreMinimaFrom a null), splitRowForExtent (splitAt passes splitRowFor a null), attach (Query.zig and layout's tests pass attachFrom the owner as giver) and columnFitsHalves (exec.zig's first-document column checks the source column's width there)
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
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 aad2675c..0fb92b1a 100644
--- a/src/ninep/ctl.zig
+++ b/src/ninep/ctl.zig
@@ -754,7 +754,7 @@ pub fn writeRoot(p: *Pardes, req: Req) Reply {
p.sync();
return refuseQuoting(p, req, "size: too small for the panes, each its tag and 2 rows", value, "");
}
- pardes.layout.restoreMinima(p, &before);
+ pardes.layout.restoreMinimaFrom(p, &before, null);
p.sync();
}
continue;