summaryrefslogtreecommitdiff
path: root/test/snapshots/tag.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/tag.snap')
-rw-r--r--test/snapshots/tag.snap23
1 files changed, 8 insertions, 15 deletions
diff --git a/test/snapshots/tag.snap b/test/snapshots/tag.snap
index f37b2ac7..a545ff9f 100644
--- a/test/snapshots/tag.snap
+++ b/test/snapshots/tag.snap
@@ -3,22 +3,17 @@
# looks the word at the cursor (Tab executes it). Multi-word execution from
# the tag stays the mouse's job (middle-drag), like anywhere else.
file t.txt ZZLOOKED
-start 30 150 -n 3
+start 31 150 -n 3
wait 8000 t.txt
stable 700 20000
-# click into the tag tail of pane 0: straight into insert. `@Save-2` is two
-# columns left of the first builtin - inside the gap that right-aligns them,
-# ordinary spaces in the tag, so this is the tail like any other part of it.
-# Anchored on the builtins rather than on a column or on the path, because the
-# builtins are the side that MOVES: one more builtin word slides them left and
-# a frozen column 28 (or a `@cwd+4`, which is the same fixed column, since the
-# path is left-anchored) would land on `Save` instead of in the gap.
+# Click the one editable separator before Save, directly after the cwd.
+# The former generated alignment gap no longer exists.
# The layout box shows
# the pane's BODY mode, not the tag's, so the evidence for "this click went to
# insert" is the next step — the typed text lands as text instead of running as
# normal-mode commands.
-press left @Save-2 2
-release left @Save-2 2
+press left @Save-1 3
+release left @Save-1 3
stable 400 5000
snap tag-focus
send \x20t.txt
@@ -40,11 +35,9 @@ settle 100
stable 400 5000
snap tag-exit
# re-enter the tag and look the typed word: Enter opens t.txt as a file pane.
-# Clicked ON the word itself rather than past the end of the tag and walked
-# back into it — the builtins are right-aligned (config.tag_right_pad), so the
-# tag no longer ends where the typing does and a click past it lands in the gap.
-press left @t.txt 2
-release left @t.txt 2
+# Click the inserted word itself; filename, separator and commands are compact.
+press left @t.txt 3
+release left @t.txt 3
stable 400 5000
key enter
wait 10000 ZZLOOKED