summaryrefslogtreecommitdiff
path: root/test/snapshots/yankpaste.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-08 12:25:04 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commit172eb56fee0b6bde698e72be2bca55a90fe81ce9 (patch)
treef2fd94709facf134c3670db4c1a20a5eaca1d53d /test/snapshots/yankpaste.snap
parentb91e5ebf8b529d0ced0bf18e83b17df0bd2374ce (diff)
downloadpardes-172eb56fee0b6bde698e72be2bca55a90fe81ce9.tar.gz
pardes-172eb56fee0b6bde698e72be2bca55a90fe81ce9.zip
steam deck nice version
Diffstat (limited to 'test/snapshots/yankpaste.snap')
-rw-r--r--test/snapshots/yankpaste.snap28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/snapshots/yankpaste.snap b/test/snapshots/yankpaste.snap
new file mode 100644
index 00000000..38ca6e3b
--- /dev/null
+++ b/test/snapshots/yankpaste.snap
@@ -0,0 +1,28 @@
+# y -> p round-trips through the core's own yank register (regression: p used
+# to request the SYSTEM clipboard via OSC 52, which plain terminals — and this
+# harness — never answer, so paste silently no-oped). Pins helix placement:
+# a linewise yank (x) pastes as whole lines below (p) / above (P), a charwise
+# yank (v) splices inline after the selection.
+lines f.txt 5
+start 30 100 f.txt
+wait 8000 Kill Newcol
+wait 8000 line 5
+stable 700 20000
+# linewise: x-select line 2, yank, move down, paste below line 3
+press left 8 4
+release left 8 4
+stable 400 5000
+key x y j p
+stable 400 5000
+snap linewise-below
+# P from the pasted line: its copy lands above
+key x y P
+stable 400 5000
+snap linewise-above
+# charwise: v-select two chars of line 1, yank, paste splices after them
+press left 8 3
+release left 8 3
+stable 400 5000
+key v l y p
+stable 400 5000
+snap charwise-inline