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/Core.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Core.zig') diff --git a/src/Core.zig b/src/Core.zig index 86916f9e..643ba4ae 100644 --- a/src/Core.zig +++ b/src/Core.zig @@ -112,7 +112,7 @@ pub const View = struct { /// column last typed in (acme.c:487), clicked in with the select button /// (acme.c:659), dropped into by a grip (acme.c:640), or given a new /// pane (util.c:467). Where the acme placement puts new panes - /// (exec.placeNew). A Look click moves the keyboard but not this. + /// (layout.placeNew). A Look click moves the keyboard but not this. active_column: u32 = 0, /// The live view's frontend (Event.frontend): a window, what it draws and /// the words it takes (builtins.zig `here`); it starts as @@ -228,7 +228,7 @@ next_serial: u32 = 0, /// the column acme's commands take from their Text's col. exec_column: ?usize = null, /// Panes made this step that found no room in their column -/// (exec.placeNew): closed at the step's end, once whatever made them +/// (layout.placeNew): closed at the step's end, once whatever made them /// is done with them. unplaced: std.StaticBitSet(MAX_PANES) = .empty, /// A look's word search is running (look.lookUnresolved): from a -- cgit v1.3