summaryrefslogtreecommitdiff
path: root/test/snapshots/tagnav.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-31 22:52:45 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:08 -0300
commitf4ac5ee26851ced516b826953fa340008fa7069c (patch)
tree7e2c7cf5cff42f083afb4c30b1582816af60ec18 /test/snapshots/tagnav.snap
parent6002422d04f1120ba7b0c5169d6a4ff01c1b5aff (diff)
downloadpardes-f4ac5ee26851ced516b826953fa340008fa7069c.tar.gz
pardes-f4ac5ee26851ced516b826953fa340008fa7069c.zip
the mode is a character in the layout box, not a word in the tagline
Diffstat (limited to 'test/snapshots/tagnav.snap')
-rw-r--r--test/snapshots/tagnav.snap10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/snapshots/tagnav.snap b/test/snapshots/tagnav.snap
index 3da71cd9..1c9e3160 100644
--- a/test/snapshots/tagnav.snap
+++ b/test/snapshots/tagnav.snap
@@ -7,9 +7,10 @@
# no capability was traded away.
#
# Evidence is the `cursor=` header (the ACTIVE pane's cursor, which while a tag
-# is focused sits on THAT pane's tag row) plus the tag text itself: a focused
-# tag renders its owner's mode, so NOR means the tag is in normal mode and the
-# pane we left is back in its body mode.
+# is focused sits on THAT pane's tag row) plus each pane's layout box, which
+# carries its BODY mode as one character: `•` normal, `^` insert, `$` tty. A
+# tag edit parks the body mode rather than overwriting it, so the box keeps
+# saying what the pane we left will be when we hop back off its tagline.
file w.txt alpha\nbeta\ngamma
start 30 100 w.txt
wait 8000 Kill Newcol
@@ -74,7 +75,8 @@ stable 400 5000
snap back-to-body
# A TERMINAL MUST NOT LOSE ITS TTY MODE. Put the launch shell in raw tty mode
# (Ctrl-b), come back, then hop onto its tagline and off again: exitTagEdit
-# restores the body mode the tag hijacked, so its prefix reads TTY again.
+# restores the body mode the tag hijacked, and its box reads `$` throughout —
+# during the hop too, because the box shows the PARKED mode, not the tag's.
key c-w l
stable 400 5000
key c-b