diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-08 23:37:38 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-09 01:28:28 -0300 |
| commit | b1769aba4a7c1984ab09bd3c90b69177b14c42d8 (patch) | |
| tree | cd04a96f003658b654244fffb137f483e2ff3384 /test/snapshots/cornerdrag.snap | |
| parent | 2c13f29da2441d0e0fb11f11bb7a180054030cc9 (diff) | |
| download | pardes-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/cornerdrag.snap')
| -rw-r--r-- | test/snapshots/cornerdrag.snap | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/test/snapshots/cornerdrag.snap b/test/snapshots/cornerdrag.snap deleted file mode 100644 index 69140c17..00000000 --- a/test/snapshots/cornerdrag.snap +++ /dev/null @@ -1,52 +0,0 @@ -# corner grabs: where a column edge crosses a pane edge, ONE drag moves both. -# Only the left column's h-splits make a corner — the v handle IS that column's -# last cell, so that is the only pane pair whose horizontal hint runs through -# it, and a corner therefore sits exactly where the two lines visibly cross. -# The layout is windowops': col 0 (x 0, w 50) holds panes 0 (rows 1-15) and 1 -# (rows 16-29), col 1 holds one pane. The corner is col 49, row 15. -file w.txt x -start 31 100 -n 3 -wait 8000 w.txt -stable 700 20000 -# hover the corner: no hints (columns resize by their grips); the frame -# stays empty -motion 50 16 -stable 400 5000 -snap hover-corner -# CONTROL: the same vertical edge ten rows off the crossing is a plain edge. -# The identical diagonal drag moves the column and nothing else — pane 0 still -# ends on row 15, and the preview is one dash, not two -press left 50 7 -drag left 30 25 -stable 400 5000 -snap edge-drag -release left 30 25 -motion 45 25 -stable 500 8000 -snap edge-done -# the corner itself, now at col 0's new last col (29) and still row 15: drag it -# up and to the right and both boundaries follow the one mouse -press left 30 17 -drag left 60 9 -stable 400 5000 -snap corner-drag -release left 60 9 -motion 45 25 -stable 500 8000 -snap corner-done -# clamp interaction, half one: shove the corner off the right edge while -# staying mid-height. The column preview parks at its MINW stop; the row -# preview keeps tracking the mouse exactly -press left 60 9 -drag left 99 21 -stable 400 5000 -snap clamp-x -# half two, the mirror: below the bottom at mid-width. Now the ROW preview -# parks (the lower pane keeps its tag row) and the COLUMN keeps tracking -drag left 60 31 -stable 400 5000 -snap clamp-y -release left 60 31 -motion 45 25 -stable 500 8000 -snap clamp-done |
