From 281b1eb2d5249caece4ac69a7d975cb01d2e7a89 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 27 Sep 2026 12:21:41 -0300 Subject: Replace a stillborn placeholder pane when a pane joins its column, and focus the pane a directional Del grows A pane that joins a column whose only other pane is an untouched empty scratch (Newcol's, or the stand-in a closed column leaves) takes the column whole. Checked at the end of the step, since the pane that asked for the joiner is often the placeholder itself. Del k|j focuses the pane that took the rows. Co-Authored-By: Claude Opus 5.5 --- test/snapshots/layout-close.snap | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/snapshots/layout-close.snap') diff --git a/test/snapshots/layout-close.snap b/test/snapshots/layout-close.snap index f459ffb4..50a11cc3 100644 --- a/test/snapshots/layout-close.snap +++ b/test/snapshots/layout-close.snap @@ -25,7 +25,8 @@ snap altc # Del the 2nd pane: source-local column insertion makes this column too narrow # to expose its tag words, so focus its body and invoke the same pane-scoped # builtin by chord. With panes above and below, the chord asks which one -# takes the rows: k, the pane above. The other panes keep their rows. +# takes the rows: k, the pane above, which also takes the focus. The other +# panes keep their rows. press left 5 9 release left 5 9 stable 400 5000 @@ -36,6 +37,9 @@ snap del # exit the (now) 2nd shell through its real tty: pty EOF, again only the pane # above absorbs — and focus falls back to the # pane that had it before this one (the moved-out column), not to slot 0 +press left 40 9 +release left 40 9 +stable 400 5000 press left 5 15 release left 5 15 stable 400 5000 -- cgit v1.3