summaryrefslogtreecommitdiff
path: root/test/snapshots/scrolloff.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/scrolloff.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/scrolloff.snap')
-rw-r--r--test/snapshots/scrolloff.snap43
1 files changed, 0 insertions, 43 deletions
diff --git a/test/snapshots/scrolloff.snap b/test/snapshots/scrolloff.snap
deleted file mode 100644
index 3dbad2b8..00000000
--- a/test/snapshots/scrolloff.snap
+++ /dev/null
@@ -1,43 +0,0 @@
-# scrolloff: keyboard motion keeps 3 context rows above/below the cursor,
-# clamped at file boundaries (cursor may reach the top/bottom body row there)
-lines g.txt 40
-start 16 210 -n 1
-wait 8000 g.txt
-stable 700 20000
-# right-click the g.txt name in the greeting ls -> file pane under the shell's
-# text, 9 body rows
-press right 4 5
-release right 4 5
-wait 10000 line 3
-stable 700 15000
-press left 10 9
-release left 10 9
-stable 400 5000
-# (b) gg: cursor CAN sit on the top body row, no forced scroll
-key g g
-stable 400 5000
-snap top
-# (a) five j's reach the bottom margin (visual row 5 of 9) without scrolling...
-key j j j j j
-stable 400 5000
-snap edge
-# ...the sixth j scrolls: view slides one line, cursor holds the margin
-key j
-stable 400 5000
-snap scrolled1
-key j j j j
-stable 400 5000
-snap jdown
-# (d) ge (goto last line; bare G is a helix no-op): bottom clamp, view stops
-# at EOF-at-bottom, cursor on the bottom row
-key g e
-stable 400 5000
-snap end
-# (c) k-walk up: cursor climbs to the top margin, then the view scrolls
-key k k k k k k k k
-stable 400 5000
-snap kup
-# (b) again from deep in the file: gg puts the cursor back on the top row
-key g g
-stable 400 5000
-snap top2