summaryrefslogtreecommitdiff
path: root/test/snapshots/shrinktag.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-08 23:37:38 -0300
committerGabriel Schneider <[email protected]>2026-11-09 01:28:28 -0300
commitb1769aba4a7c1984ab09bd3c90b69177b14c42d8 (patch)
treecd04a96f003658b654244fffb137f483e2ff3384 /test/snapshots/shrinktag.snap
parent2c13f29da2441d0e0fb11f11bb7a180054030cc9 (diff)
downloadpardes-b1769aba4a7c1984ab09bd3c90b69177b14c42d8.tar.gz
pardes-b1769aba4a7c1984ab09bd3c90b69177b14c42d8.zip
tests: the columns and layout snapshot scripts (14: colgrip collapse cornerdrag cornerdrag-left delask emptycol layout-close layout-open shrinktag tagalign tagalign2col windownav windowops wheeldrift) are process cases, test/process/tty_layout.zig, their goldens unchanged; checked against the old runner by the tty reading a drag as a motion (the same 7 fail in both); three core breaks (splitBelow at a third, minRows one more, a dropped column's width to its right) fail neither
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/snapshots/shrinktag.snap')
-rw-r--r--test/snapshots/shrinktag.snap52
1 files changed, 0 insertions, 52 deletions
diff --git a/test/snapshots/shrinktag.snap b/test/snapshots/shrinktag.snap
deleted file mode 100644
index 5264be74..00000000
--- a/test/snapshots/shrinktag.snap
+++ /dev/null
@@ -1,52 +0,0 @@
-# a terminal shrinks only to its tag and 2 body rows (a text pane would go
-# to its tag alone): the pane below dragged by its grip up to the tag row
-# stops there -- a terminal has no rule between panes, so the grip is the
-# handle, as acme's button is -- the gutter box still grabs a move, and
-# dragging back down restores the body intact
-file w.txt x
-start 31 100 -n 3
-wait 8000 w.txt
-stable 700 20000
-# content in pane 0 so the restored body is provably intact
-press left 5 9
-release left 5 9
-stable 400 5000
-key i
-text echo one; echo two
-key enter
-key esc
-settle 100
-stable 400 5000
-snap before
-# drag the lower pane's grip up under pane 0's tag row: it keeps 2 body rows
-press left 1 18
-drag left 1 3
-release left 1 3
-motion 40 25
-stable 500 8000
-snap shrunk
-# the shrunk pane's gutter box grabs a move: preview one into the right
-# column, abort by releasing over the pane itself
-press left 1 3
-drag left 70 9
-stable 400 5000
-snap move-preview
-drag left 20 3
-release left 20 3
-stable 400 5000
-# re-enlarge: the lower pane's grip, now under pane 0's 2 body rows, pulled
-# back down
-press left 1 7
-drag left 1 18
-release left 1 18
-motion 40 25
-stable 500 8000
-snap restored
-# the bottom pane stops at ITS tag and 2 rows too: its grip dragged past the
-# bottom
-press left 1 18
-drag left 1 31
-release left 1 31
-motion 40 25
-stable 500 8000
-snap bottom-shrunk