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/ttyedit.snap | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 test/snapshots/ttyedit.snap (limited to 'test/snapshots/ttyedit.snap') diff --git a/test/snapshots/ttyedit.snap b/test/snapshots/ttyedit.snap deleted file mode 100644 index 6ee3ca03..00000000 --- a/test/snapshots/ttyedit.snap +++ /dev/null @@ -1,45 +0,0 @@ -# editing a shell pane exactly like a document: Enter SPLITS the line under -# the cursor and pushes the shell rows below it down, `o` opens a fresh line, -# and backspace at column 0 joins back up. Before the edit buffer landed a -# terminal could only splice single-row insertion runs, so none of this was -# expressible. test/hxcases/parity.jsonl pins the keystroke-level equivalence -# with a file pane case for case; this is the end-to-end pty proof. -file words.txt alpha beta -start 31 100 -n 3 -wait 8000 words.txt -stable 700 20000 -key c-b -stable 600 8000 -text printf 'one two three\nfour five six\nseven eight nine\n' -key enter -wait 8000 seven -stable 700 10000 -key c-b -stable 600 8000 -# click into the middle of the first output row -press left 8 9 -release left 8 9 -stable 400 5000 -snap before -# Enter splits the row there: "one t" stays, "wo three" becomes a real line -# of its own and the two output rows below it slide down -key i enter -stable 400 5000 -snap split -key esc -stable 400 5000 -# `o` opens a line below the split's tail and pushes the rest down again -key o -text OPEN -key esc -stable 400 5000 -snap opened -# backspace at column 0 joins the opened line back onto its predecessor -key i home bs -key esc -stable 400 5000 -snap joined -# undo walks the whole session back out to untouched shell output -key u u u -stable 400 5000 -snap undone -- cgit v1.3