summaryrefslogtreecommitdiff
path: root/test/snapshots/tagnav.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/tagnav.snap')
-rw-r--r--test/snapshots/tagnav.snap43
1 files changed, 43 insertions, 0 deletions
diff --git a/test/snapshots/tagnav.snap b/test/snapshots/tagnav.snap
index eed808de..c9ac9605 100644
--- a/test/snapshots/tagnav.snap
+++ b/test/snapshots/tagnav.snap
@@ -77,3 +77,46 @@ settle 100
key :
stable 400 5000
snap tty-restored
+# The column and workspace tags are Texts in the same layout, with the same
+# keys: Up from a pane with nothing above it reaches its column's tag, in
+# normal mode, then the workspace's; Down comes back the same way.
+key c-b
+stable 700 15000
+key c-w h
+stable 400 5000
+key c-w k
+stable 400 5000
+snap column-tag
+key w
+stable 400 5000
+snap column-word
+key c-w k
+stable 400 5000
+snap workspace-tag
+# `$` is the last cell; four long-word steps back land on `Dump`, and the
+# execute key runs it and gives the keyboard back to the body FIRST -- `Kill`
+# lives up here too, so a builtin that frees the session must never return
+# into a focused header. Dump grows a `Restore <path>` word, which is also the
+# case where the line gets longer than the column you were parked on.
+key $
+stable 400 5000
+snap topbar-dollar
+key B B B B
+stable 400 5000
+snap topbar-dump-word
+key tab
+stable 700 15000
+snap topbar-exec
+# THE DELETION HAZARD, from the bar itself: `Restore` frees every pane and
+# swaps the core out from under the caller. Walk back up onto the word the
+# Dump just grew -- B twice off the tail, because the LONG word motions are the
+# ones that step over a path in one go -- and run it.
+key c-w k
+key c-w k
+stable 400 5000
+key $ B B
+stable 400 5000
+snap topbar-restore-word
+key tab
+stable 900 15000
+snap topbar-restored