diff options
Diffstat (limited to 'test/snapshots/chordcut.snap')
| -rw-r--r-- | test/snapshots/chordcut.snap | 25 |
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 |
