From 2c13f29da2441d0e0fb11f11bb7a180054030cc9 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 8 Nov 2026 23:28:26 -0300 Subject: tests: the editing snapshot scripts (41: modes, selections, look, search, the language client, diffs, tags) are process cases, test/process/tty_editing.zig, their goldens unchanged; checked against the old runner by two breaks, look's centring a third of the pane down (the same 4 fail in both) and the tty reading a drag as a motion (the same 7), grep the one flake in both, cured by the run alone Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/snapshots/tag.snap | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 test/snapshots/tag.snap (limited to 'test/snapshots/tag.snap') diff --git a/test/snapshots/tag.snap b/test/snapshots/tag.snap deleted file mode 100644 index 133a041d..00000000 --- a/test/snapshots/tag.snap +++ /dev/null @@ -1,49 +0,0 @@ -# a CLICKED tag is in normal mode, its cursor where it was clicked: `i` types -# there (`:` is the door back to the body, see tagcmd); backspace edits; Esc drops to the tag's normal mode, which is -# the body's normal mode, and `:` there hands the keyboard back to the body; -# Enter looks the word at the cursor (Tab executes it). Multi-word execution -# from the tag stays the mouse's job (middle-drag), like anywhere else. -file t.txt ZZLOOKED -start 31 150 -n 3 -wait 8000 t.txt -stable 700 20000 -# Click the one editable separator before Save, directly after the cwd. -# The former generated alignment gap no longer exists. -# The layout box shows -# the pane's BODY mode, not the tag's; `i` then types into the tag where it -# was clicked. -press left @Save-1 3 -release left @Save-1 3 -stable 400 5000 -snap tag-focus -key i -send \x20t.txt -stable 600 8000 -stable 400 5000 -snap tag-typed -key bs -key bs -key bs -key bs -stable 400 5000 -snap tag-del -send .txt -stable 600 8000 -stable 400 5000 -# Esc: the tag's normal mode; `:` then gives the keyboard back to the body, -# which is in normal mode, and the typed text stays -key esc -settle 100 -key : -stable 400 5000 -snap tag-exit -# re-enter the tag and look the typed word: Enter in normal mode opens t.txt -# as a file pane. Click the inserted word itself; filename, separator and -# commands are compact. -press left @t.txt 3 -release left @t.txt 3 -stable 400 5000 -key enter -wait 10000 ZZLOOKED -stable 700 15000 -snap tag-look -- cgit v1.3