From 21277ffc6b08f458eb9a1210a3818e40b14293d2 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 8 Nov 2026 23:37:38 -0300 Subject: 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 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/snapshots/tty.snap | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 test/snapshots/tty.snap (limited to 'test/snapshots/tty.snap') 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 -- cgit v1.3