summaryrefslogtreecommitdiff
path: root/test/snapshots/cornerdrag-left.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-14 13:40:29 -0300
committerGabriel Schneider <[email protected]>2026-08-15 11:57:13 -0300
commitf67fec978a9296c651ec06bd2f43686d34ff86ee (patch)
treecbf5568883e5888398e0887093fc5afc524fd54d /test/snapshots/cornerdrag-left.snap
parent9280c597b000eed661fd98793e182fdcb640f6cd (diff)
downloadpardes-f67fec978a9296c651ec06bd2f43686d34ff86ee.tar.gz
pardes-f67fec978a9296c651ec06bd2f43686d34ff86ee.zip
look: richer path/range parsing, pdf rendering, corner-drag and stepgrain snapshots
Diffstat (limited to 'test/snapshots/cornerdrag-left.snap')
-rw-r--r--test/snapshots/cornerdrag-left.snap41
1 files changed, 41 insertions, 0 deletions
diff --git a/test/snapshots/cornerdrag-left.snap b/test/snapshots/cornerdrag-left.snap
new file mode 100644
index 00000000..c90dbc76
--- /dev/null
+++ b/test/snapshots/cornerdrag-left.snap
@@ -0,0 +1,41 @@
+# corner grabs on the RIGHT column's side of the v border. The v handle is the
+# LEFT column's last cell, so that column's own h hint runs THROUGH it while the
+# right column's hints start one cell further right — the crossing there reads as
+# a T butting into the junction rather than a full cross, and it is grabbable all
+# the same: one drag moves the column edge and the RIGHT column's pane edge.
+# Layout: windowops' -n 3 (col 0 x 0 w 50, panes on rows 1-15 and 16-29; col 1
+# x 50 w 50), then focus right and Alt-n so col 1 holds two panes as well, split
+# at ITS own row. The two corners on col 49 are then row 16 (col 0's seam, the
+# one that already worked) and row 5 (col 1's, the one this script is about).
+file w.txt x
+start 30 100 -n 3
+wait 8000 w.txt
+stable 700 20000
+# a second pane in the RIGHT column
+key c-w l
+stable 400 5000
+key a-n
+stable 700 15000
+snap right-split
+# hover col 1's corner: the v hint runs full height AND col 1's h hint lights,
+# from col 51 rightward. Before this that row was dark on the handle — only the
+# hovered column's seam lit, and the hovered cell belongs to col 0
+motion 50 5
+stable 400 5000
+snap hover-corner
+# CONTROL: col 0's own seam is still a left-column corner, its h hint drawn
+# through the handle from col 1 to the handle itself, unchanged
+motion 50 16
+stable 400 5000
+snap hover-left-corner
+# grab col 1's corner and drag down-left: the column preview and col 1's row
+# preview both follow the one mouse, the row dashes lying to the RIGHT of the v
+# line because they are the right column's
+press left 50 5
+drag left 30 12
+stable 400 5000
+snap corner-drag
+release left 30 12
+motion 45 25
+stable 500 8000
+snap corner-done