summaryrefslogtreecommitdiff
path: root/test/snapshots/hscroll.snap
diff options
context:
space:
mode:
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