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/keys.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/keys.zig') diff --git a/src/keys.zig b/src/keys.zig index c197940e..49ed00c0 100644 --- a/src/keys.zig +++ b/src/keys.zig @@ -261,7 +261,7 @@ pub fn handleKey(p: *Pardes, key: Key) void { const nt = p.newShell(free, "") catch |err| return p.reportError(p.view().active, "Term", err); nt.greet = true; // From a tag, as a 9P new is: acme's t->w == nil. - exec.placeNew(p, p.view().active, if (p.view().header != null) null else p.view().active, free, .shell); + layout.placeNew(p, p.view().active, if (p.view().header != null) null else p.view().active, free, .shell); return; } for (config.jump_keys) |jk| { -- cgit v1.3