summaryrefslogtreecommitdiff
path: root/test/snapshots/ttylook.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/ttylook.snap')
-rw-r--r--test/snapshots/ttylook.snap12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/snapshots/ttylook.snap b/test/snapshots/ttylook.snap
index cc746970..66b178d7 100644
--- a/test/snapshots/ttylook.snap
+++ b/test/snapshots/ttylook.snap
@@ -2,9 +2,10 @@
# whitespace-separated token that look resolves — several per line, so the
# greet ls row hops big.txt -> plain.txt -> sub — moving the cursor to the
# token start and opening NOTHING. Return looks the selection (dir -> shell
-# +ls there, file -> pane) and navigation continues in what opened. The first
-# n wraps from the prompt row to the first token; insert-mode n still types;
-# with nothing lookable n is a no-op.
+# +ls there, file -> pane) and focus follows what opened. The first n wraps
+# from the prompt row to the first token; insert-mode n still types; and a
+# pane with nothing look-able in it never traps the walk, because the walk is
+# a RING ACROSS PANES rather than a scan of the one you are in.
lines big.txt 40
file plain.txt just text
dirmk sub
@@ -44,7 +45,10 @@ snap tok3
key enter
stable 700 15000
snap diropen
-# the fresh pane's dir is empty: n has nothing lookable, stays put
+# the fresh pane's dir is empty, and that is not where n stops: the ring is
+# spined on the panes that have LOOKED, so the step leaves this shell for the
+# one it was looked out of. That pane's cursor is on its last token (`sub`),
+# so the walk runs off the end and comes round to its first — big.txt.
key n
stable 400 5000
snap noop