summaryrefslogtreecommitdiff
path: root/test/snapshots/ttyedit.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/ttyedit.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/ttyedit.snap')
-rw-r--r--test/snapshots/ttyedit.snap45
1 files changed, 0 insertions, 45 deletions
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