summaryrefslogtreecommitdiff
path: root/test/snapshots/tty.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-26 18:36:08 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commite381c96a08f08e03a340a24acb3fe5fe1fca51be (patch)
treedb0ef0cc2652d2797b9e2f73709db601816436d1 /test/snapshots/tty.snap
parenta4a2a96d023a5977ae7a7d07c7ee9e4fe38e9c60 (diff)
downloadpardes-e381c96a08f08e03a340a24acb3fe5fe1fca51be.tar.gz
pardes-e381c96a08f08e03a340a24acb3fe5fe1fca51be.zip
adding better search to tty mode
Diffstat (limited to 'test/snapshots/tty.snap')
-rw-r--r--test/snapshots/tty.snap11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/snapshots/tty.snap b/test/snapshots/tty.snap
index 97eee3f5..a3af511d 100644
--- a/test/snapshots/tty.snap
+++ b/test/snapshots/tty.snap
@@ -1,4 +1,6 @@
-# tty mode round-trip: Ctrl-b in, run a command, Ctrl-b out
+# tty mode round-trip: Ctrl-b in, run a command, Ctrl-b out. Shift-Esc is the
+# same toggle (CSI 27;2u — needs a host that reports modifiers on Escape); a
+# PLAIN Esc is not, it still goes to the shell.
file m.txt marker
start 30 100 -n 3
wait 8000 m.txt
@@ -14,3 +16,10 @@ snap tty-echo
key c-b
stable 600 8000
snap tty-off
+# Shift-Esc: in, then out again — the same toggle from the other key
+send \e[27;2u
+stable 600 8000
+snap shift-esc-on
+send \e[27;2u
+stable 600 8000
+snap shift-esc-off