summaryrefslogtreecommitdiff
path: root/test/snapshots/jumps.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-14 13:40:29 -0300
committerGabriel Schneider <[email protected]>2026-08-15 11:57:13 -0300
commitf67fec978a9296c651ec06bd2f43686d34ff86ee (patch)
treecbf5568883e5888398e0887093fc5afc524fd54d /test/snapshots/jumps.snap
parent9280c597b000eed661fd98793e182fdcb640f6cd (diff)
downloadpardes-f67fec978a9296c651ec06bd2f43686d34ff86ee.tar.gz
pardes-f67fec978a9296c651ec06bd2f43686d34ff86ee.zip
look: richer path/range parsing, pdf rendering, corner-drag and stepgrain snapshots
Diffstat (limited to 'test/snapshots/jumps.snap')
-rw-r--r--test/snapshots/jumps.snap35
1 files changed, 15 insertions, 20 deletions
diff --git a/test/snapshots/jumps.snap b/test/snapshots/jumps.snap
index db131bd4..d7d44967 100644
--- a/test/snapshots/jumps.snap
+++ b/test/snapshots/jumps.snap
@@ -64,19 +64,20 @@ snap last-back
key space j l
stable 700 15000
snap jumplist
-# n/N select the next/prev look-able span and Enter looks it, exactly as they
-# do a +Search: the stepped span is selected in the buffer (snapstyle) and the
-# Enter after it moves the pane the row names. Row 1 is the shell (no path, so
+# n/N select the next/prev row and Enter looks it, exactly as they do a
+# +Search: the stepped span is selected in the buffer (snapstyle) and the Enter
+# after it moves the pane the row names. Row 1 is the shell (no path, so
# `@pN`), row 2 the file at line 1, row 4 the file at line 100 — so the body
# visibly rides the list.
#
-# SPANS, not rows, and this buffer is the one place in the suite where the two
-# differ: an `@pN` row's trailing text is the pane's DIRECTORY, which is a
-# look-able word of its own, so row 1 and row 3 each hold TWO stops and
-# reaching the next row takes two steps. A file row's text is its content line
-# (`line 1`), which resolves to nothing, so those hold one. Stepping words
-# rather than rows is what makes the walk the same motion in a results buffer
-# and in the middle of a paragraph, and this is the price of that.
+# ONE PRESS PER ROW, and this buffer is where that rule earns itself: an `@pN`
+# row's trailing text is the pane's DIRECTORY, which is a look-able word of its
+# own, so rows 1 and 3 used to hold TWO stops each and reaching the next row
+# took two steps. A results buffer is a LIST — its rows are locations, and the
+# text after one says what is THERE rather than naming another place to go — so
+# the walk takes the location at the head of a row and moves on to the next row
+# (output_pane.Grain.line). Free text still steps every word: that is the
+# terminal walk in ttylook, and it is why the two goldens differ.
#
# An `@pN` row moves focus like any other, which it did not use to: the STEP
# only selects now, and the look Enter runs goes to the pane by the same route
@@ -86,26 +87,20 @@ key enter
stable 700 15000
snap step1-shell
snapstyle step1-shell
-# past the directory on row 1, then onto row 2
-key n
-stable 400 5000
+# on to row 2 — one press, the directory on row 1 is no longer a stop of its own
key n
key enter
stable 700 15000
snap step2-file
-# row 3 is the shell again, both its spans, and then row 4
-key n
-stable 400 5000
+# row 3 is the shell again, then row 4
key n
stable 400 5000
key n
key enter
stable 700 15000
snap step4-line100
-# N is the exact inverse: the same two spans of row 3 in the other order, so
-# two presses land back on its location and Enter follows it to the shell
-key N
-stable 400 5000
+# N is the exact inverse: one press back onto row 3's location, and Enter
+# follows it to the shell
key N
key enter
stable 700 15000