summaryrefslogtreecommitdiff
path: root/test/snapshots/windownav.golden
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-22 09:31:11 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:14 -0300
commita1d5ee19a648abc65b557dffa14a3b2f70577286 (patch)
treeef36c11168bcc2f7bbb9b7a6a29519c7e0882fab /test/snapshots/windownav.golden
parent43b9d696f9e25ad7589527b91a74666e71ff0472 (diff)
downloadpardes-a1d5ee19a648abc65b557dffa14a3b2f70577286.tar.gz
pardes-a1d5ee19a648abc65b557dffa14a3b2f70577286.zip
Notices become chips that float over the body, not rows taken from it
A notice is an overlay now, which is the one place it is NOT like the tree-sitter context: it takes no row from the body and moves no text. Each one is a chip as wide as its own message plus a blank cell either side, anchored to the pane right edge on the body top rows. The rest of each of those rows is ordinary body text that still reads and still answers a click -- Notices.left records where each chip starts, and the hit test refuses only the cells it covers rather than the whole row. The width is counted in GRID columns rather than scaled into the tagline face the chip is drawn in, because the canonical grid is what a terminal client draws and a chip narrower than its own text there would clip it; the narrower tagline face simply leaves a little more room inside the chip. The tag layer takes the geometry the grid pass already chose, so the two cannot disagree and the GUI skipping the cells a tag layer covers leaves no stub behind. Pane.body_offset is gone with the reservation it existed for, and bodyTop takes only a rect. The body layer keeps every row it had, the scrollbar runs the full body again, and the GUI smooth-scroll extents go back to the pane. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Diffstat (limited to 'test/snapshots/windownav.golden')
-rw-r--r--test/snapshots/windownav.golden63
1 files changed, 13 insertions, 50 deletions
diff --git a/test/snapshots/windownav.golden b/test/snapshots/windownav.golden
index 58396814..d665c655 100644
--- a/test/snapshots/windownav.golden
+++ b/test/snapshots/windownav.golden
@@ -2,71 +2,34 @@
|Newcol Joincol Find Grep Help Changelog Tutor Dump NextColor Debug Kill
| New Tty Find Grep Joincol Delcol New Tty Find Grep Joincol Delcol
| /tmp/pardes-snap/windownav/cwd/w.txt Save Tty C /tmp/pardes-snap/windownav/cwd Tty Save Mode Fi
-| 1 alpha Left
-| 2 beta ls
-| 3 gamma w.txt
+| 1 alpha ls Left
+| 2 beta w.txt
+| 3 gamma
== snap to-term grid=100x31 cursor=54,5
-|3: Last ls
-|4: 1 alpha w.txt
-|5: 2 beta
-|6: 3 gamma
+|3: 1 alpha Last ls
== snap back-to-file grid=100x31 cursor=7,3
-|3: 1 alpha Last
-|4: 2 beta ls
-|5: 3 gamma w.txt
-|6:
+|3: 1 alpha ls Last
== snap esc-to-term grid=100x31 cursor=54,5
-|3: Last ls
-|4: 1 alpha w.txt
-|5: 2 beta
-|6: 3 gamma
+|3: 1 alpha Last ls
== snap esc-back-to-file grid=100x31 cursor=7,3
-|3: 1 alpha Last
-|4: 2 beta ls
-|5: 3 gamma w.txt
-|6:
+|3: 1 alpha ls Last
== snap altn grid=100x31 cursor=4,20
|3: 1 alpha ls
-|4: 2 beta w.txt
-|5: 3 gamma
|17: /tmp/pardes-snap/windownav/cwd Tty Save Mode Fi
|18: ls
|19: w.txt
== snap up grid=100x31 cursor=7,3
-|18: Up
-|19: ls
-|20: w.txt
+|18: ls Up
== snap right grid=100x31 cursor=54,5
-|3: Right ls
-|4: 1 alpha w.txt
-|5: 2 beta
-|6: 3 gamma
+|3: 1 alpha Right ls
|18: ls
-|19: w.txt
-|20:
== snap left grid=100x31 cursor=7,3
-|3: 1 alpha Left
-|4: 2 beta ls
-|5: 3 gamma w.txt
-|6:
+|3: 1 alpha ls Left
== snap down grid=100x31 cursor=4,20
-|3: Down ls
-|4: 1 alpha w.txt
-|5: 2 beta
-|6: 3 gamma
+|3: 1 alpha Down ls
== snap toggle-doc grid=100x31 cursor=7,3
|3: 1 alpha ls
-|4: 2 beta w.txt
-|5: 3 gamma
-|6:
-|18: Last
-|19: ls
-|20: w.txt
+|18: ls Last
== snap toggle-back grid=100x31 cursor=4,20
-|3: Last ls
-|4: 1 alpha w.txt
-|5: 2 beta
-|6: 3 gamma
+|3: 1 alpha Last ls
|18: ls
-|19: w.txt
-|20: