summaryrefslogtreecommitdiff
path: root/test/snapshots/tty.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-08 23:37:38 -0300
committerGabriel Schneider <[email protected]>2026-11-09 01:28:28 -0300
commit21277ffc6b08f458eb9a1210a3818e40b14293d2 (patch)
tree20feccca94b87f4e75a77eaf18c1699775b9a608 /test/snapshots/tty.snap
parente7cf866a3841398880ca94b0a00841ee82e1d227 (diff)
downloadpardes-21277ffc6b08f458eb9a1210a3818e40b14293d2.tar.gz
pardes-21277ffc6b08f458eb9a1210a3818e40b14293d2.zip
tests: the terminal snapshot scripts (19: tty ttyclick ttyedit ttyfollow ttyhelp ttylook ttyonly ttypaste ttyprompt ttytaken psearch reflow respawn scroll cmdexit look-fd-deep ghostty-mid exec exec-bigdrag) are process cases, test/process/tty_terminals.zig, their goldens unchanged; checked against the old runner by Ctrl-b no longer leaving tty mode (the same 12 fail in both)
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/snapshots/tty.snap')
-rw-r--r--test/snapshots/tty.snap31
1 files changed, 0 insertions, 31 deletions
diff --git a/test/snapshots/tty.snap b/test/snapshots/tty.snap
deleted file mode 100644
index 48fffbd1..00000000
--- a/test/snapshots/tty.snap
+++ /dev/null
@@ -1,31 +0,0 @@
-# tty mode round-trip: Ctrl-b in, run a command, Ctrl-b out. Ctrl-b is the one
-# switch between raw and normal. Shift-Esc (CSI 27;2u — needs a host that
-# reports modifiers on Escape) never switches: in every mode it is what Escape
-# is in normal mode — Last, the pane you were in before this one — and a raw
-# terminal stays raw. The hop itself is covered by a unit test in pardes.zig.
-file m.txt marker
-start 31 100 -n 3
-wait 8000 m.txt
-stable 700 20000
-key c-b
-stable 600 8000
-snap tty-on
-text echo SNAP''OK
-key enter
-wait 8000 SNAPOK
-stable 700 10000
-snap tty-echo
-key c-b
-stable 600 8000
-snap tty-off
-# Shift-Esc from normal: never into raw; it backs out to the previous pane.
-send \e[27;2u
-stable 600 8000
-snap shift-esc-normal
-# Ctrl-b is the switch: into raw, and out again.
-key c-b
-stable 600 8000
-snap ctrl-b-on
-key c-b
-stable 600 8000
-snap ctrl-b-off