summaryrefslogtreecommitdiff
path: root/test/snapshots/layout-close.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-27 12:21:41 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:14 -0300
commit281b1eb2d5249caece4ac69a7d975cb01d2e7a89 (patch)
tree688c6e72a82f3b574b18657f98e4250886d98b83 /test/snapshots/layout-close.snap
parent9b8146a7df6270613ab48ba3df53e97a558d1ba4 (diff)
downloadpardes-281b1eb2d5249caece4ac69a7d975cb01d2e7a89.tar.gz
pardes-281b1eb2d5249caece4ac69a7d975cb01d2e7a89.zip
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 <[email protected]>
Diffstat (limited to 'test/snapshots/layout-close.snap')
-rw-r--r--test/snapshots/layout-close.snap6
1 files changed, 5 insertions, 1 deletions
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