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/ttyfollow.snap | 47 ------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 test/snapshots/ttyfollow.snap (limited to 'test/snapshots/ttyfollow.snap') diff --git a/test/snapshots/ttyfollow.snap b/test/snapshots/ttyfollow.snap deleted file mode 100644 index 94af40aa..00000000 --- a/test/snapshots/ttyfollow.snap +++ /dev/null @@ -1,47 +0,0 @@ -# follow-output gate: a shell pane in normal/insert mode holds its scrolled-up -# view while new pty output streams in (before: only the ACTIVE pane held); -# back in tty mode output follows to the bottom again. Pane A parks a -# background job blocked on file `go`, pane B triggers it and syncs on `done1`. -file s.txt x -start 31 100 -n 3 -wait 8000 s.txt -stable 700 20000 -key c-b -stable 600 8000 -text (until test -f go; do sleep 0.05; done; seq 201 260; touch done1) & -key enter -stable 500 8000 -text seq 1 200 -key enter -wait 8000 199 -stable 700 15000 -key c-b -stable 600 8000 -wheel up 10 8 -wheel up 10 8 -wheel up 10 8 -stable 500 8000 -snap held-pre -# focus pane B (right column), trigger A's job, sync on completion: A is now a -# NON-active normal-mode pane receiving output — its view must not move -press left 60 6 -release left 60 6 -stable 400 5000 -key c-b -stable 600 8000 -text touch go; until test -f done1; do sleep 0.05; done; echo SYN''CED -key enter -wait 8000 SYNCED -stable 700 15000 -snap held-post -# back in A, re-enter tty: the echoed keystrokes pull the view to the bottom -press left 10 9 -release left 10 9 -stable 400 5000 -key c-b -stable 600 8000 -text seq 261 300 -key enter -wait 8000 300 -stable 700 15000 -snap tty-follows -- cgit v1.3