diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-22 09:31:11 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:14 -0300 |
| commit | a1d5ee19a648abc65b557dffa14a3b2f70577286 (patch) | |
| tree | ef36c11168bcc2f7bbb9b7a6a29519c7e0882fab /test/snapshots/wheeldrift.golden | |
| parent | 43b9d696f9e25ad7589527b91a74666e71ff0472 (diff) | |
| download | pardes-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/wheeldrift.golden')
| -rw-r--r-- | test/snapshots/wheeldrift.golden | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/snapshots/wheeldrift.golden b/test/snapshots/wheeldrift.golden index 762f8453..50bd6580 100644 --- a/test/snapshots/wheeldrift.golden +++ b/test/snapshots/wheeldrift.golden @@ -1,9 +1,8 @@ -== snap home grid=70x17 cursor=7,4 +== snap home grid=70x17 cursor=7,3 |Newcol Joincol Find Grep Help Changelog Tutor Dump NextColor Debug Kil | New Tty Find Grep Joincol Delcol | /tmp/pardes-snap/wheeldrift/cwd/drift.txt Save Tty Collapse Del -| Wrap -| 1 line 1_0123456789_abcdefghij_ZEND +| 1 line 1_0123456789_abcdefghij_ZEND Wrap | 2 line 2_0123456789_abcdefghij_ZEND | 3 line 3_0123456789_abcdefghij_ZEND | 4 line 4_0123456789_abcdefghij_ZEND @@ -16,7 +15,8 @@ | 11 line 11_0123456789_abcdefghij_ZEND | 12 line 12_0123456789_abcdefghij_ZEND | 13 line 13_0123456789_abcdefghij_ZEND -== snap drifted grid=70x17 cursor=7,4 +| 14 line 14_0123456789_abcdefghij_ZEND +== snap drifted grid=70x17 cursor=7,3 |3: 6 line 6_0123456789_abcdefghij_ZEND |4: 7 line 7_0123456789_abcdefghij_ZEND |5: 8 line 8_0123456789_abcdefghij_ZEND @@ -31,8 +31,8 @@ |14: 17 line 17_0123456789_abcdefghij_ZEND |15: 18 line 18_0123456789_abcdefghij_ZEND |16: 19 line 19_0123456789_abcdefghij_ZEND -== snap paying grid=70x17 cursor=7,4 -== snap moved grid=70x17 cursor=7,4 +== snap paying grid=70x17 cursor=7,3 +== snap moved grid=70x17 cursor=7,3 |3: 6 123456789_abcdefghij_ZEND |4: 7 123456789_abcdefghij_ZEND |5: 8 123456789_abcdefghij_ZEND @@ -47,7 +47,7 @@ |14: 17 0123456789_abcdefghij_ZEND |15: 18 0123456789_abcdefghij_ZEND |16: 19 0123456789_abcdefghij_ZEND -== snap rearmed grid=70x17 cursor=7,4 +== snap rearmed grid=70x17 cursor=7,3 |3: 5 123456789_abcdefghij_ZEND |4: 6 123456789_abcdefghij_ZEND |5: 7 123456789_abcdefghij_ZEND |
