summaryrefslogtreecommitdiff
path: root/test/snapshots/windownav.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-05 15:32:57 -0300
committerGabriel Schneider <[email protected]>2026-08-10 09:17:07 -0300
commit68d208e1a0ff37eaef4a2a97b04797a1a6df277c (patch)
tree9cf72c6e1cf89e7e4feae66723c64ee59c95127c /test/snapshots/windownav.snap
parent6eaa81710fee8ee2191a0b967b069bb01952be2e (diff)
downloadpardes-68d208e1a0ff37eaef4a2a97b04797a1a6df277c.tar.gz
pardes-68d208e1a0ff37eaef4a2a97b04797a1a6df277c.zip
boot a file argument alone
Diffstat (limited to 'test/snapshots/windownav.snap')
-rw-r--r--test/snapshots/windownav.snap15
1 files changed, 12 insertions, 3 deletions
diff --git a/test/snapshots/windownav.snap b/test/snapshots/windownav.snap
index bc88eefa..5652116b 100644
--- a/test/snapshots/windownav.snap
+++ b/test/snapshots/windownav.snap
@@ -13,10 +13,19 @@ start 30 100 w.txt
wait 8000 New Newcol
wait 8000 w.txt
stable 700 20000
-# left column = the file, right column = the launch shell; the file has focus
+# A FILE boots alone now, so the terminal every hop below needs is opened here:
+# SPC c n (Newcol) puts it in a column of its own on the right and focuses it,
+# SPC w h comes straight back. WHAT THIS COST: the first SPC w t used to run
+# against a shell that had never been focused, which is Toggleterm's fallback
+# scan; nothing reaches that branch any more, because every way a script has of
+# making a terminal also focuses it.
+key space c n
+stable 700 15000
+key space w h
+stable 400 5000
+# left column = the file, right column = that shell; the file has focus
snap start
-# SPC w t with a shell that has NEVER been focused: nothing to find in the
-# history, so it falls back to a scan and still lands in the right column
+# SPC w t: the hop to the most recently focused TERMINAL, the one just opened
key space w t
stable 400 5000
snap to-term