summaryrefslogtreecommitdiff
path: root/test/snapshots/splitparent.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 06:43:39 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:16 -0300
commit96383331f09e8af3fa24f767b3c56863309723b8 (patch)
tree12aa88b5e4832623de2c3a413b7b237f6ef34add /test/snapshots/splitparent.snap
parent35e865eba278a1ef48a6ce160767d652a9c54ae8 (diff)
downloadpardes-96383331f09e8af3fa24f767b3c56863309723b8.tar.gz
pardes-96383331f09e8af3fa24f767b3c56863309723b8.zip
A terminal keeps its tag and two body rows through drags, squeezes and a smaller window
A terminal of one body row loses its prompt's mark and reads busy for ever. Placement already refused to make one that short; now layout never leaves one there either: a grip drag stops at the floor, and a column squeezed by weights or by the window takes the rows from its other panes. Text panes keep acme's way and can still be dragged to their tag, since acme has no terminals to follow. The shrinktag, splitparent and cornerdrag goldens are re-recorded for it, shrinktag's re-grab moved to where the grip now is. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/snapshots/splitparent.snap')
-rw-r--r--test/snapshots/splitparent.snap9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/snapshots/splitparent.snap b/test/snapshots/splitparent.snap
index 14391467..93ed9e21 100644
--- a/test/snapshots/splitparent.snap
+++ b/test/snapshots/splitparent.snap
@@ -1,4 +1,4 @@
-# a new pane never opens under a too-short parent: Alt-n from a tag-only pane
+# a new pane never opens under a too-short parent: Alt-n from a pane too short to halve
# splits the tall sibling in its column instead; when NO pane could leave the
# newcomer 2 body rows, the tallest one anywhere is split, and when that one
# cannot keep its own tag and 2 rows either, the pane is refused
@@ -6,15 +6,16 @@
config Placement pardes
start 31 100 -n 3
stable 700 20000
-# shrink pane 0 (top-left) to just its tagline: the pane below's grip dragged
-# up under it (a terminal has no rule between panes; the grip is the handle)
+# shrink pane 0 (top-left), a terminal, as far as it goes, its tag and 2 body
+# rows: the pane below's grip dragged up under its tag (a terminal has no
+# rule between panes; the grip is the handle)
press left 1 18
drag left 1 3
release left 1 3
motion 40 25
stable 500 8000
snap shrunk
-# Alt-n from the tag-only pane: the new shell opens below the tall sibling
+# Alt-n from the short pane: the new shell opens below the tall sibling
# underneath it, not as another 1-row sliver
key a-n
stable 700 15000