From 6a49974e56521cf66c9a4d0eb579cd5de949891e Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 28 Sep 2026 19:52:50 -0300 Subject: 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 --- test/snapshots/chordcut.snap | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'test/snapshots/chordcut.snap') 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 -- cgit v1.3