summaryrefslogtreecommitdiff
path: root/test/snapshots/ttyclick.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/ttyclick.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/ttyclick.snap')
-rw-r--r--test/snapshots/ttyclick.snap36
1 files changed, 0 insertions, 36 deletions
diff --git a/test/snapshots/ttyclick.snap b/test/snapshots/ttyclick.snap
deleted file mode 100644
index 534005b9..00000000
--- a/test/snapshots/ttyclick.snap
+++ /dev/null
@@ -1,36 +0,0 @@
-# clicks in a shell pane never change its mode: a body click in raw tty
-# keeps tty (before: the press dropped it to normal), a round trip through the
-# tag leaves it alone (the tag has a mode of its own), and an insert-mode body
-# click re-pins the cursor but stays insert. File panes keep the old behavior (click -> normal).
-# The mode is the character in each pane's layout box: `•` normal, `^` insert,
-# `$` tty.
-file probe.txt marker
-start 31 100 -n 3
-wait 8000 probe.txt
-stable 700 20000
-key c-b
-stable 600 8000
-# body click in raw tty: focus/selection only, the box stays `$`
-press left 10 5
-release left 10 5
-stable 400 5000
-snap tty-bodyclick
-# tag edit from tty: the box still reads `$` while the tag is typed into (the
-# tag's mode is its own: a clicked tag is in normal mode), and `:` hands the keyboard back — a bug
-# that lost the body's mode would show `•` in one snap or the other
-press left @Term 3
-release left @Term 3
-stable 400 5000
-snap tty-tagedit
-key :
-stable 400 5000
-snap tty-tagexit
-# out of tty, into insert: a body click moves the cursor but keeps INS
-key c-b
-stable 600 8000
-key i
-stable 400 5000
-press left 12 5
-release left 12 5
-stable 400 5000
-snap ins-bodyclick