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/hscroll.snap | 48 --------------------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 test/snapshots/hscroll.snap (limited to 'test/snapshots/hscroll.snap') diff --git a/test/snapshots/hscroll.snap b/test/snapshots/hscroll.snap deleted file mode 100644 index 05366323..00000000 --- a/test/snapshots/hscroll.snap +++ /dev/null @@ -1,48 +0,0 @@ -# horizontal scroll, file panes only (terminals wrap at pty width): the -# horizontal wheel shifts the content window (gutter stays put, no scrollbar), -# and keyboard movement keeps the scrolloff margin sideways — $ on a long -# line pulls the view right, 0 snaps it back. Overscroll right is allowed; -# a cursor move reels it in. -file wide.txt short1 END_A_MARKER_WAY_OUT_RIGHT_padpadpadpadpadpadpadpadpadpadpadpadpadpad_TAIL -start 31 90 -n 3 -wait 8000 wide.txt -stable 700 20000 -# soft wrap is ON by default and a wrapped body has nothing to scroll sideways -# — hscroll is what you get when you turn it OFF, so this whole script runs -# with it off. SPC t w is global, so it is spent once, before the file exists. -key space t w -stable 400 5000 -# open wide.txt: click a body spot, type the name, look it -press left 5 9 -release left 5 9 -stable 400 5000 -key i -text wide.txt -key esc -settle 100 -stable 400 5000 -press right 7 9 -release right 7 9 -stable 700 15000 -snap opened -# wheel right over the file pane: content shifts, line numbers stay -send \x1b[<66;10;8M -send \x1b[<66;10;8M -stable 400 5000 -snap wheeled -# wheel back left past the start clamps at column 0 -send \x1b[<67;10;8M -send \x1b[<67;10;8M -send \x1b[<67;10;8M -stable 400 5000 -snap clamped -# gl walks the cursor to the line end: the view follows with the margin -key g g -stable 400 5000 -key g l -stable 400 5000 -snap dollar -# 0 back to column zero: the view snaps home -key 0 -stable 400 5000 -snap zero -- cgit v1.3