summaryrefslogtreecommitdiff
path: root/test/snapshots/layout-open.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/layout-open.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/layout-open.golden')
-rw-r--r--test/snapshots/layout-open.golden43
1 files changed, 28 insertions, 15 deletions
diff --git a/test/snapshots/layout-open.golden b/test/snapshots/layout-open.golden
index 79492382..fdca2103 100644
--- a/test/snapshots/layout-open.golden
+++ b/test/snapshots/layout-open.golden
@@ -2,11 +2,11 @@
|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/layout-open/cwd Tty+bash Save /tmp/pardes-snap/layout-open/cwd Tty+bash Save
+| Mode Filter Collapse Del Mode Filter Collapse Del
| ls ls
| sub sub
|
|
-|
| echo one; echo two
|
|
@@ -17,21 +17,34 @@
|
|
| /tmp/pardes-snap/layout-open/cwd Tty+bash Save
+| Mode Filter Collapse Del
| ls
| sub
-== snap altn-left grid=100x31 cursor=4,9
+== snap altn-left grid=100x31 cursor=4,10
+|4: sub ls
+|5: sub
|6: /tmp/pardes-snap/layout-open/cwd Tty+bash Save
-|7: ls
-|8: sub
-== snap altn-right grid=100x31 cursor=54,9
+|7: Mode Filter Collapse Del
+|8: ls
+|9: sub
+== snap altn-right grid=100x31 cursor=54,10
+|4: sub sub
+|5:
|6: /tmp/pardes-snap/layout-open/cwd Tty+bash Save /tmp/pardes-snap/layout-open/cwd Tty+bash Save
-|7: ls ls
-|8: sub sub
-== snap file-open grid=100x31 cursor=7,22
-|21: /tmp/pardes-snap/layout-open/cwd/sub/f.txt Save
-|22: 1 echo 'TTY'OK
-== snap ttydir grid=100x31 cursor=7,22
-|10: /tmp/pardes-snap/layout-open/cwd/sub (echo 'TTY
-|11: % echo 'TTY'OK
-|12: TTYOK
-|13: exit 0
+|7: Mode Filter Collapse Del Mode Filter Collapse Del
+|8: ls ls
+|9: sub sub
+== snap file-open grid=100x31 cursor=7,23
+|19: sub
+|20:
+|21: /tmp/pardes-snap/layout-open/cwd/sub/f.txt Sav
+|22: e Tty Collapse Del
+|23: 1 echo 'TTY'OK
+== snap ttydir grid=100x31 cursor=7,23
+|8: ls sub
+|9: sub
+|10: /tmp/pardes-snap/layout-open/cwd/sub (echo 'TT
+|11: Y'OK) exit 0 Kill Save Collapse Del
+|12: % echo 'TTY'OK
+|13: TTYOK
+|14: exit 0