summaryrefslogtreecommitdiff
path: root/test/snapshots/shrinktag.golden
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 19:36:58 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commit1df6bd12fafbf97062f7844a23de208add75a843 (patch)
tree78b61cfebeb12c40b679d053b457d2e28f232784 /test/snapshots/shrinktag.golden
parent1f8de151e382755c1ce597f166ea4552e7f7e8d1 (diff)
downloadpardes-1df6bd12fafbf97062f7844a23de208add75a843.tar.gz
pardes-1df6bd12fafbf97062f7844a23de208add75a843.zip
A pane tag wraps onto rows and can collapse to one, as acme's does
acme's frame wraps a tag at its right edge and the window grows to show every row (wind.c wintaglines); Tagup/Tagdown shrink it to one row and back. Pane tags used to be one row, scrolled sideways to the caret. Now a tag's lines wrap at its width (one cell kept for the caret past a full row) and it starts expanded; insert-mode Up on the first row collapses it, Down on the last row expands it, and Alt-Up/Alt-Down do so in either mode. A word the wrap breaks across rows is still one word to a click and a selection. Column and workspace tags keep scrolling sideways. Tests read body rows relative to the body's first row; the 41 snapshot goldens that moved were re-recorded by name after a programmatic check that each differs only by body rows shifting under the taller tags, and twelve scripts whose clicks targeted fixed rows now click the same text. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/snapshots/shrinktag.golden')
-rw-r--r--test/snapshots/shrinktag.golden32
1 files changed, 19 insertions, 13 deletions
diff --git a/test/snapshots/shrinktag.golden b/test/snapshots/shrinktag.golden
index 8ed65105..70d36c6a 100644
--- a/test/snapshots/shrinktag.golden
+++ b/test/snapshots/shrinktag.golden
@@ -1,12 +1,12 @@
== snap before grid=100x31 cursor=2,9
|Newcol Joincol Find Grep Help Changelog Tutor Dump NextColor Debug Exit
| New Tty Find Grep Joincol Delcol New Tty Find Grep Joincol Delcol
-| /tmp/pardes-snap/shrinktag/cwd Tty+bash Save Mo /tmp/pardes-snap/shrinktag/cwd Tty+bash Save Mo
+| /tmp/pardes-snap/shrinktag/cwd Tty+bash Save M /tmp/pardes-snap/shrinktag/cwd Tty+bash Save M
+| ode Filter Collapse Del ode Filter Collapse Del
| ls ls
| w.txt w.txt
|
|
-|
| echo one; echo two
|
|
@@ -16,29 +16,35 @@
|
|
|
-| /tmp/pardes-snap/shrinktag/cwd Tty+bash Save Mo
+| /tmp/pardes-snap/shrinktag/cwd Tty+bash Save M
+| ode Filter Collapse Del
| ls
| w.txt
== snap shrunk grid=100x31 cursor=2,9
-|3: /tmp/pardes-snap/shrinktag/cwd Tty+bash Save Mo ls
-|4: ls w.txt
-|5: w.txt
+|3: /tmp/pardes-snap/shrinktag/cwd Tty+bash Save M ode Filter Collapse Del
+|4: ode Filter Collapse Del ls
+|5: ls w.txt
+|6: w.txt
|8:
|17:
|18:
|19:
+|20:
== snap move-preview grid=100x31 cursor=2,9
|8: ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌▌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌
== snap restored grid=100x31 cursor=2,9
-|3: ls ls
-|4: w.txt w.txt
-|5:
+|3: ode Filter Collapse Del ode Filter Collapse Del
+|4: ls ls
+|5: w.txt w.txt
+|6:
|8: echo one; echo two
-|17: /tmp/pardes-snap/shrinktag/cwd Tty+bash Save Mo
-|18: ls
-|19: w.txt
+|17: /tmp/pardes-snap/shrinktag/cwd Tty+bash Save M
+|18: ode Filter Collapse Del
+|19: ls
+|20: w.txt
== snap bottom-shrunk grid=100x31 cursor=2,9
|17:
|18:
|19:
-|30: /tmp/pardes-snap/shrinktag/cwd Tty+bash Save Mo
+|20:
+|30: /tmp/pardes-snap/shrinktag/cwd Tty+bash Save M