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/ttypaste.snap | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 test/snapshots/ttypaste.snap (limited to 'test/snapshots/ttypaste.snap') diff --git a/test/snapshots/ttypaste.snap b/test/snapshots/ttypaste.snap deleted file mode 100644 index 1591c8c4..00000000 --- a/test/snapshots/ttypaste.snap +++ /dev/null @@ -1,32 +0,0 @@ -# Pasting INTO the program a tty pane is running. -# -# `SPC p` and the acme 1-3 chord are both unreachable in raw tty: the pty owns -# every keystroke and every button. So tty mode has its own chord, and a paste -# arriving from outside has to reach the shell rather than an edit buffer that -# the pty does not know exists. -# -# Two paths, both ending at the shell's command line: -# Ctrl-V types the DEFAULT register (config.tty_paste) -# bracketed paste the outer terminal's own paste, or a desktop one relayed -# by a GUI host, which used to land in an overlay instead -file src.txt PASTED-PAYLOAD -start 31 100 -n 3 -wait 8000 src.txt -stable 700 20000 -# fill the default register from a file pane: sweep the word and yank it -key c-b -stable 600 8000 -# in tty now; type a prefix so the pasted text is visibly appended to it -text echo -stable 600 8000 -# the outer terminal's bracketed paste: not a keystroke, no request behind it, -# and it must arrive at the shell's line -send \e[200~ BRACKETED\e[201~ -stable 600 8000 -snap bracketed-paste-reached-the-shell -# Ctrl-V types the register. Nothing was yanked in this session, so the -# register is empty and the chord is INERT rather than sending the shell the -# 0x16 it used to (quoted-insert): the line below is unchanged. -key c-v -stable 600 8000 -snap ctrl-v-with-empty-register-is-inert -- cgit v1.3