summaryrefslogtreecommitdiff
path: root/test/snapshots/chordcut.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 19:52:50 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commit6a49974e56521cf66c9a4d0eb579cd5de949891e (patch)
treeea2e13f5f35e0ce4bbec209ce59d3f5fe5a4852e /test/snapshots/chordcut.snap
parent197fe7396e7f63e9471bb317f1341228a0690ce6 (diff)
downloadpardes-6a49974e56521cf66c9a4d0eb579cd5de949891e.tar.gz
pardes-6a49974e56521cf66c9a4d0eb579cd5de949891e.zip
Snapshots and GUI goldens run with the default Placement acme
Their clicks follow the panes to where acme's placement puts them; doccol and splitparent stay on Placement pardes, which they cover. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/snapshots/chordcut.snap')
-rw-r--r--test/snapshots/chordcut.snap25
1 files changed, 14 insertions, 11 deletions
diff --git a/test/snapshots/chordcut.snap b/test/snapshots/chordcut.snap
index 01fee1f7..c1db10fa 100644
--- a/test/snapshots/chordcut.snap
+++ b/test/snapshots/chordcut.snap
@@ -11,8 +11,6 @@ lines g.txt 2
# unrelated right column untouched. Give the caller enough cells that the selected
# `echo B''OO g.txt` remains one displayed row; this test is about chords, not
# soft-wrap traversal.
-# its clicks and goldens were laid out by the pardes placement rule
-config Placement pardes
start 31 120 -n 3
wait 8000 f.txt
stable 700 20000
@@ -108,19 +106,24 @@ snap lookafter
# a fresh left click dismisses the chord's leftover selection instead of
# dragging the anchored span to the click: copy `line` on g.txt line 1
# (styled snap shows the selection), then click the next row (it's gone)
-press left 8 14
-drag left 11 14
-press middle 11 14
-release middle 11 14
-press right 11 14
-release right 11 14
-release left 11 14
+press left 8 23
+drag left 11 23
+press middle 11 23
+release middle 11 23
+press right 11 23
+release right 11 23
+release left 11 23
stable 400 5000
snapstyle chordsel
-press left 8 15
-release left 8 15
+press left 8 24
+release left 8 24
stable 400 5000
snapstyle clickdismiss
+# g.txt opened under the lower shell's text and left it three rows: close it,
+# and the shell grows back into its rows, for what follows to run in
+press middle @Del 22
+release middle @Del 22
+stable 700 15000
# tty paste chord: a mouse-listening app gets the click forwarded (SGR,
# body-relative) then the register between bracketed-paste markers —
# cat -v prints the received bytes visibly