summaryrefslogtreecommitdiff
path: root/test/snapshots/scroll.golden
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-24 19:28:29 -0300
committerGabriel Schneider <[email protected]>2026-11-24 20:02:56 -0300
commitc40d447e63663d947f241d60a2bdb8ce1bd141c0 (patch)
tree93dcd149384624306166f1a7a6b5d75b138ca27c /test/snapshots/scroll.golden
parentf26cf0be705280ff28ca69aaef6cc64e1466ed4e (diff)
downloadpardes-c40d447e63663d947f241d60a2bdb8ce1bd141c0.tar.gz
pardes-c40d447e63663d947f241d60a2bdb8ce1bd141c0.zip
messages: one notice row at the window's foot indexes the live messages, and the chips over the bodies go (pick-ui SPEC §10.3, walk UI line C item 2): the panes' area ends a row higher (layout.noticeRowHeight, none on a screen under 3 rows, as the column tags); the row is a header layer of its own (Layer.Kind.notice_row, NOTICE_ROW_LAYER, Region.Kind.notice_row) in the workspace tag's colours: on the left the message the row leads with (error > question > warn > notice > echo, the newest within a rank: its glyph in its kind's ink, its cause unless its words name it, its words without a host's clock stamp, ×n, its places as words), dimmed once its bright time is over; on the right +N more, N questions · SPC e, SPC e walk for an error with places, or N messages · SPC h m; with nothing live the focused pane's path:line (a terminal's directory); built each frame from the state (Messages.noticeRow, bounded by notice_row_cap), the left part giving way to the right; B2 runs and B3 Looks at a word on it (mouse.zig); Pane.Notices keeps the leader's and a prompt's chips only; a latent fault found by it: a kind's pane reopened (its file changed on disk, a Restore) kept the hashes of the views its old state was told, so the new state was never told its view and a PDF stayed blank until something moved its pane; the reloaded message's chip used to move it (Kind.reopen now tells a new state every view; behaviour addons_pdf's disk-change and Restore tests, failing before the fix); a message's cause for a kind's pane is its path; every frame changes (the foot row): boot's foot reads '/tmp/pardes-snap/boot/cwd', msg's 'repainted' '· saved /tmp/pardes-snap/msg/cwd/a.txt 2 messages · SPC h m' where a chip stood on the body's first row; the 98 tty goldens rewritten and read (57 the rows shifted alone, the rest the chips gone and racy shell output re-recorded; no file-written block and no snapshot's name changed), the four tty cases that click at fixed rows given a row more (chordcut, layout-open, images, respawn: their cursors unchanged), the addon scripts' outputs (fake, snake, life, pdf: windows a row shorter, the chip gone), hxdiff's core a row taller (22 rows as helix's), the tests over tiny screens a row taller, the drag edge of a bottom pane over the notice row (mouse.zig); tests: Messages.zig 'the notice row leads with the most important live message ...', 'a builtin announces itself on the notice row, an echo ...', draw.zig 'the word under the pointer on the notice row is lit ...', 'a message wider than the notice row ... gives way to the row's right end'; tui gate: core-test, pane-test, shell-test, behaviour-test (and --replay: 20 seeds, 0 failures), term-test, kitty-test pass; process-test 0 of 146 failed; the gui build is gated at the line's end
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/snapshots/scroll.golden')
-rw-r--r--test/snapshots/scroll.golden116
1 files changed, 61 insertions, 55 deletions
diff --git a/test/snapshots/scroll.golden b/test/snapshots/scroll.golden
index 242c7fc4..2125f0e9 100644
--- a/test/snapshots/scroll.golden
+++ b/test/snapshots/scroll.golden
@@ -1,11 +1,10 @@
-== snap bottom grid=100x31 cursor=4,16
+== snap bottom grid=100x31 cursor=4,15
| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit
| New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol
| /tmp/pardes-snap/scroll/cwd Term+bash Save Mode /tmp/pardes-snap/scroll/cwd Term+bash Save Mode
| Filter Collapse Del Filter Collapse Del
-| 189 ls
-| 190 s.txt
-| 191
+| 190 ls
+| 191 s.txt
| 192
| 193
| 194
@@ -20,49 +19,44 @@
| Filter Collapse Del
| ls
| s.txt
-== snap wheel3 grid=100x31 cursor=4,16
-|4: 186 ls
-|5: 187 s.txt
-|6: 188
-|7: 189
-|8: 190
-|9: 191
-|10: 192
-|11: 193
-|12: 194
-|13: 195
-|14: 196
-|15: 197
-|16: 198
-== snap gutter-up grid=100x31 cursor=4,16
-|4: 179 ls
-|5: 180 s.txt
-|6: 181
-|7: 182
-|8: 183
-|9: 184
-|10: 185
-|11: 186
-|12: 187
-|13: 188
-|14: 189
-|15: 190
-|16: 191
-== snap gutter-down grid=100x31 cursor=4,16
-|4: 181 ls
-|5: 182 s.txt
-|6: 183
-|7: 184
-|8: 185
-|9: 186
-|10: 187
-|11: 188
-|12: 189
-|13: 190
-|14: 191
-|15: 192
-|16: 193
-== snap wheel-down grid=100x31 cursor=4,16
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+| /tmp/pardes-snap/scroll/cwd
+== snap wheel3 grid=100x31 cursor=4,15
+|4: 187 ls
+|5: 188 s.txt
+|6: 189
+|7: 190
+|8: 191
+|9: 192
+|10: 193
+|11: 194
+|12: 195
+|13: 196
+|14: 197
+|15: 198
+== snap gutter-up grid=100x31 cursor=4,15
+|4: 180 ls
+|5: 181 s.txt
+|6: 182
+|7: 183
+|8: 184
+|9: 185
+|10: 186
+|11: 187
+|12: 188
+|13: 189
+|14: 190
+|15: 191
+== snap gutter-down grid=100x31 cursor=4,15
|4: 182 ls
|5: 183 s.txt
|6: 184
@@ -75,7 +69,19 @@
|13: 191
|14: 192
|15: 193
-|16: 194
+== snap wheel-down grid=100x31 cursor=4,15
+|4: 183 ls
+|5: 184 s.txt
+|6: 185
+|7: 186
+|8: 187
+|9: 188
+|10: 189
+|11: 190
+|12: 191
+|13: 192
+|14: 193
+|15: 194
== style wheel-down grid=100x31
|0: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824,
|1: 0-1 d,#887455, 2-49 #becfc4,#314738, 50-51 #becfc4,#887455, 52-99 #b2c3b8,#1d2824,
@@ -91,13 +97,13 @@
|11: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410,
|12: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410,
|13: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410,
-|14: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410,
-|15: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410,
-|16: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410,
-|17: 0-1 d,#496656, 2-29 #b2c3b8,#1d2824, 30-39 #d3b0d9,#1d2824, 40-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410,
-|18: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410,
+|14: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410,
+|15: 0-0 d,#152019, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410,
+|16: 0-1 d,#496656, 2-29 #b2c3b8,#1d2824, 30-39 #d3b0d9,#1d2824, 40-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410,
+|17: 0-1 d,#1d2824, 2-49 #b2c3b8,#1d2824, 50-50 #b2c3b8,#608269, 51-99 #b2c3b8,#0d1410,
+|18: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410,
|19: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410,
-|20: 0-0 d,#608269, 1-1 d,#0d1410, 2-49 #e5eee5,#0d1410, 50-50 #e5eee5,#608269, 51-99 #e5eee5,#0d1410,
+|20: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410,
|21: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410,
|22: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410,
|23: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410,
@@ -107,4 +113,4 @@
|27: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410,
|28: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410,
|29: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410,
-|30: 0-0 d,#608269, 1-49 d,#0d1410, 50-50 d,#608269, 51-99 d,#0d1410,
+|30: 0-1 d,#1d2824, 2-99 #b2c3b8,#1d2824,