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/selarg.snap | 58 ---------------------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 test/snapshots/selarg.snap (limited to 'test/snapshots/selarg.snap') diff --git a/test/snapshots/selarg.snap b/test/snapshots/selarg.snap deleted file mode 100644 index 8aa59bbd..00000000 --- a/test/snapshots/selarg.snap +++ /dev/null @@ -1,58 +0,0 @@ -# 2-1 chord borrows the argument selection from ANOTHER pane: pane A (left) -# holds the selection, pane B (right) middle-drags the command with no -# selection of its own — the chord's left tap finds A's kept left selection, -# and later A's explicit v selection, and rides it as the argument. -file s.txt x -start 31 100 -n 3 -wait 8000 s.txt -stable 700 20000 -# pane A (left, active at boot): print the two argument words -key c-b -stable 600 8000 -text clear; printf 'ZZARG ZZVEE\n' -key enter -wait 8000 ZZVEE -stable 700 15000 -key c-b -stable 600 8000 -# pane B (top right): create the arg-printing script and show its path -press left 60 7 -release left 60 7 -stable 400 5000 -key c-b -stable 600 8000 -text printf '#!/bin/sh\necho CHORDARG:"$1"\n' > c.sh; chmod +x c.sh; clear; printf './c.sh\n' -key enter -wait 10000 ./c.sh -stable 700 15000 -key c-b -stable 600 8000 -# keep a left selection over ZZARG in pane A (this also focuses A) -press left 3 5 -drag left 7 5 -release left 7 5 -stable 400 5000 -snap kept -# chord in pane B: middle on ./c.sh + left tap (B has NO selection: the -# argument comes from pane A's kept left selection) + middle release runs -press middle 55 5 -press left 55 5 -release middle 55 5 -release left 55 5 -wait 10000 CHORDARG:ZZARG -stable 700 10000 -snap crosspane -# now an explicit modal selection: plain-click ZZVEE in A (drops A's kept -# left selection), select it with v e, chord in B again -press left 9 5 -release left 9 5 -stable 400 5000 -text ve -stable 400 5000 -press middle 55 5 -press left 55 5 -release middle 55 5 -release left 55 5 -wait 10000 CHORDARG:ZZVEE -stable 700 10000 -snap vselarg -- cgit v1.3