From 8903d352237919455996831047017ae57f2a83ef Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 10 Nov 2026 05:42:57 -0300 Subject: layout: exec.placeNew moves into layout.zig as layout.placeNew, with NewPane, the type only it switches on, and acmeColumn and columnOf, which only it calls, before canSplitCol, since 29 of its 41 references are layout's own (acmePlace, takeRoom, splitTallest, placedRoomy); callers name layout, and Dir, mini and Store, which imported exec for it alone, import layout instead Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/Query.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Query.zig') diff --git a/src/Query.zig b/src/Query.zig index 301d3334..5a66a0a3 100644 --- a/src/Query.zig +++ b/src/Query.zig @@ -322,7 +322,7 @@ fn create(p: *Pardes, owner_id: usize, line: []const u8, source: Source) ?usize if (!layout.attachFrom(p, owner_id, free, want, owner_id)) { // An owner too short to give a query pane its rows: placed as any // new pane is, the one place a search moves another pane. - exec.placeNew(p, owner_id, owner_id, free, .doc); + layout.placeNew(p, owner_id, owner_id, free, .doc); } if (with_preview) _ = makePreview(p, free, preview_rows, owner_id); return free; -- cgit v1.3