diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-27 11:45:56 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | d91c2cc53f816634a5471672bd33b842f06e849e (patch) | |
| tree | 1193b6752db6a62d85d7ef6c06c38d95ae495d43 /test/snapshots/tagnav.snap | |
| parent | 6877a61ef40ad0d8e762a28d0a3f5fa9bfefaff2 (diff) | |
| download | pardes-d91c2cc53f816634a5471672bd33b842f06e849e.tar.gz pardes-d91c2cc53f816634a5471672bd33b842f06e849e.zip | |
tag columns are the WHOLE rendered tag: h/j/k/l walk taglines, the path selects but never edits
Diffstat (limited to 'test/snapshots/tagnav.snap')
| -rw-r--r-- | test/snapshots/tagnav.snap | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/test/snapshots/tagnav.snap b/test/snapshots/tagnav.snap new file mode 100644 index 00000000..6ba86c08 --- /dev/null +++ b/test/snapshots/tagnav.snap @@ -0,0 +1,75 @@ +# h/j/k/l ON A TAGLINE move focus BETWEEN taglines. A tag is a place in the +# LAYOUT, not just a line of text, so the four letters walk the layout and land +# on the neighbour's TAG (top row of the window), still in normal mode — you +# walk the taglines and never drop through a body. They run the SAME +# Left/Down/Up/Right builtins `SPC w h/j/k/l` and `Ctrl-w h/j/k/l` run: one +# focusDir, three routes to it. The ARROWS keep the in-tag grapheme motion, so +# 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. +file w.txt alpha\nbeta\ngamma +start 30 100 w.txt +wait 8000 Kill Newcol +wait 8000 w.txt +stable 700 20000 +# Alt-n: a shell below the file, so the left column has two rows and every +# direction has somewhere to go +key a-n +stable 700 15000 +key space w k +stable 400 5000 +snap start +# `:` -> the file's OWN tagline, normal mode, parked at the tail's start +key : +stable 400 5000 +snap colon +# l -> right, onto the launch shell's TAGLINE (not its body) +key l +stable 400 5000 +snap right-tag +# h -> back left onto the file's tagline +key h +stable 400 5000 +snap left-tag +# j -> down onto the tagline of the shell under the file +key j +stable 400 5000 +snap down-tag +# k -> back up onto the file's +key k +stable 400 5000 +snap up-tag +# k again: nothing above the file. focusDir leaves `active` alone, so the move +# is a plain no-op and the tag KEEPS focus — you stay exactly where you were. +key k +stable 400 5000 +snap up-edge +# the arrows are still in-tag motion: two rights walk two columns of the tail +key right right +stable 400 5000 +snap arrows-still-motion +key esc +settle 700 +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. +key c-w l +stable 400 5000 +key c-b +stable 700 15000 +snap tty-on +key c-w h +stable 400 5000 +key : +key l +stable 400 5000 +snap tty-tag +key esc +settle 700 +stable 400 5000 +snap tty-restored |
