summaryrefslogtreecommitdiff
path: root/test/snapshots/builtins.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/builtins.snap')
-rw-r--r--test/snapshots/builtins.snap23
1 files changed, 14 insertions, 9 deletions
diff --git a/test/snapshots/builtins.snap b/test/snapshots/builtins.snap
index f6b5723b..3b8fb684 100644
--- a/test/snapshots/builtins.snap
+++ b/test/snapshots/builtins.snap
@@ -30,10 +30,12 @@ snap index
key g e
stable 700 15000
snap index-tail
-# n/N here must NOT run the rows. ThemeSel's buffer executes what it steps
-# onto, and that is safe because wearing a theme is free; this list holds Kill,
-# Del and Delcol, so stepping it would end the session. Three presses, and the
-# panes and the listing are all where they were.
+# n/N here run NOTHING, and no longer could: they are a MOTION, and the only
+# thing they do is move the selection onto look-able text. A row here is a key
+# path and a NAME — this list holds Kill, Del and Delcol — and a name is not a
+# path, so the ring finds nothing to stop on in this buffer or in the file
+# above it. Three presses, and the panes and the listing are all where they
+# were. Picking a command is executing its row, two snaps down.
key n
key n
key n
@@ -48,17 +50,20 @@ wait 10000 Right
stable 700 15000
snap window-group
# back to the whole index, and a NAME in it is live text like anywhere else:
-# middle-click `Tutor` and the tutor opens. That is the picking a stepping
-# picker would have done, minus running the rows you passed.
+# middle-click `Tutor` and the tutor opens. That is how a list of commands is
+# picked from — you run the row you want and the ones you passed stay unrun,
+# which is the whole reason n/N were never allowed to be the picker.
#
# The one place in this suite a builtin cannot be added for free: the click is
# a SCREEN coordinate, so every row inserted above `SPC h t` in the listing
-# moves Tutor down one and this number with it.
+# moves Tutor down one and this number with it. The five clipboard builtins
+# put three there — SPC P, SPC R and SPC Y, uppercase sorting ahead of the
+# lowercase `SPC h` — which is why this reads 49 and not 46.
key space ?
wait 10000 SPC c n
stable 700 15000
-press middle 20 46
-release middle 20 46
+press middle 20 49
+release middle 20 49
wait 10000 PARDES TUTOR
stable 700 15000
snap tutor-from-index