summaryrefslogtreecommitdiff
path: root/test/snapshots/hscroll.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-08 23:28:26 -0300
committerGabriel Schneider <[email protected]>2026-11-09 01:28:28 -0300
commit2c13f29da2441d0e0fb11f11bb7a180054030cc9 (patch)
treebff1a7a8e92d5acdc354ed4e6da956dc0fa209dc /test/snapshots/hscroll.snap
parent094b562b5b90558e82a9c3e2beea386d93bd1803 (diff)
downloadpardes-2c13f29da2441d0e0fb11f11bb7a180054030cc9.tar.gz
pardes-2c13f29da2441d0e0fb11f11bb7a180054030cc9.zip
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 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/snapshots/hscroll.snap')
-rw-r--r--test/snapshots/hscroll.snap48
1 files changed, 0 insertions, 48 deletions
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