summaryrefslogtreecommitdiff
path: root/test/snapshots
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-03 00:32:11 -0300
committerGabriel Schneider <[email protected]>2026-08-10 09:17:07 -0300
commit6a43880a7ef6899f0d66c1b0a63a7e7b5610236a (patch)
tree2fc12106e0b5f0eb0abcaa345eaa85b39b5bcdd7 /test/snapshots
parentc86d3bb210822b3128a0759533f1bec3654364b7 (diff)
downloadpardes-6a43880a7ef6899f0d66c1b0a63a7e7b5610236a.tar.gz
pardes-6a43880a7ef6899f0d66c1b0a63a7e7b5610236a.zip
pipe selections through shell commands
Diffstat (limited to 'test/snapshots')
-rw-r--r--test/snapshots/pipe.golden39
-rw-r--r--test/snapshots/pipe.snap16
2 files changed, 55 insertions, 0 deletions
diff --git a/test/snapshots/pipe.golden b/test/snapshots/pipe.golden
new file mode 100644
index 00000000..3748c33a
--- /dev/null
+++ b/test/snapshots/pipe.golden
@@ -0,0 +1,39 @@
+== snap prompt grid=180x12 cursor=61,1
+|New Newcol Find Grep Help Tutor Dump NextColor Debug Kill
+| /tmp/pardes-snap/pipe/cwd/pipe.txt Save New Del |tr a-z A-Z /tmp/pardes-snap/pipe/cwd New Del
+| 1 alpha beta
+| 2 gamma delta pipe.txt
+|
+|
+|
+|
+|
+|
+|
+|
+== snap filtered grid=180x12 cursor=17,2
+|New Newcol Find Grep Help Tutor Dump NextColor Debug Kill
+| /tmp/pardes-snap/pipe/cwd/pipe.txt Save New Del /tmp/pardes-snap/pipe/cwd New Del
+| 1 ALPHA BETA
+| 2 gamma delta pipe.txt
+|
+|
+|
+|
+|
+|
+|
+|
+== snap undone grid=180x12 cursor=17,2
+|New Newcol Find Grep Help Tutor Dump NextColor Debug Kill
+| /tmp/pardes-snap/pipe/cwd/pipe.txt Save New Del /tmp/pardes-snap/pipe/cwd New Del
+| 1 alpha beta
+| 2 gamma delta pipe.txt
+|
+|
+|
+|
+|
+|
+|
+|
diff --git a/test/snapshots/pipe.snap b/test/snapshots/pipe.snap
new file mode 100644
index 00000000..421f9177
--- /dev/null
+++ b/test/snapshots/pipe.snap
@@ -0,0 +1,16 @@
+# `|`: visible tag prompt, native async shell filter, and one-step undo.
+file pipe.txt alpha beta\ngamma delta
+start 12 180 pipe.txt
+wait 8000 alpha beta
+stable 700 20000
+key x |
+text tr a-z A-Z
+stable 300 5000
+snap prompt
+key enter
+wait 8000 ALPHA BETA
+stable 500 8000
+snap filtered
+key u
+stable 400 5000
+snap undone