summaryrefslogtreecommitdiff
path: root/test/snapshots/windowops.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 00:17:45 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commit15ddd805905f785f4dde463d4d6b91e1d2c41e26 (patch)
treed812a922785101f0b14f672ca47be6fd67b49833 /test/snapshots/windowops.snap
parent64b6a0dbdaab4b314ccbce667709d71a8561daf0 (diff)
downloadpardes-15ddd805905f785f4dde463d4d6b91e1d2c41e26.tar.gz
pardes-15ddd805905f785f4dde463d4d6b91e1d2c41e26.zip
A pane's last row of text is no resize handle; the grip is, and the GUI's rule
A press on a pane's last row began a seam drag, so the row could not be clicked or swept like the rest of the text (rsearch dragged the handle out of the way first). Now no row of text is a handle: in the GUI a press on the 2 px rule between two panes drags their seam, and anywhere the grip does, as acme's button moves a window -- dragged up or down its own column it moves the pane's top, either pane down to its tag alone (acme's coldragwin), dragged down inside itself too. The hover hint over a last row is gone; column edges resize as they did. Scripts that dragged a seam drag a grip instead and match their goldens; six goldens lost the hint or moved a cursor to the clicked text, re-recorded by name. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/snapshots/windowops.snap')
-rw-r--r--test/snapshots/windowops.snap13
1 files changed, 7 insertions, 6 deletions
diff --git a/test/snapshots/windowops.snap b/test/snapshots/windowops.snap
index 32d8c83b..8166f663 100644
--- a/test/snapshots/windowops.snap
+++ b/test/snapshots/windowops.snap
@@ -1,4 +1,4 @@
-# hover resize hints, border drags, move drag, Alt-n, Ctrl-w focus (routed through the Right builtin), Debug box
+# hover resize hints, border drags, grip resize, move drag, Alt-n, Ctrl-w focus (routed through the Right builtin), Debug box
file w.txt x
start 31 100 -n 3
wait 8000 w.txt
@@ -7,7 +7,7 @@ stable 700 20000
motion 50 10
stable 400 5000
snap hover-v
-# hover over the top-left pane's last row: horizontal dash hint
+# hover over the top-left pane's last row: no hint, a row of text is no handle
motion 20 16
stable 400 5000
snap hover-h
@@ -19,10 +19,11 @@ snap border-drag
release left 40 11
stable 500 8000
snap border-done
-# drag the horizontal border up 4 rows (pane 0's new last row)
-press left 20 17
-drag left 20 13
-release left 20 13
+# resize the left pair by the lower pane's grip, 4 rows up (a terminal has no
+# rule between panes; pane 0's last row is now 13)
+press left 1 18
+drag left 1 14
+release left 1 14
stable 500 8000
snap hborder-done
# move pane 1 (its gutter box) into the right column