diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-24 19:28:29 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-24 20:02:56 -0300 |
| commit | c40d447e63663d947f241d60a2bdb8ce1bd141c0 (patch) | |
| tree | 93dcd149384624306166f1a7a6b5d75b138ca27c /test/snapshots/jumps.golden | |
| parent | f26cf0be705280ff28ca69aaef6cc64e1466ed4e (diff) | |
| download | pardes-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/jumps.golden')
| -rw-r--r-- | test/snapshots/jumps.golden | 138 |
1 files changed, 69 insertions, 69 deletions
diff --git a/test/snapshots/jumps.golden b/test/snapshots/jumps.golden index 34712e6e..abac4c7f 100644 --- a/test/snapshots/jumps.golden +++ b/test/snapshots/jumps.golden @@ -29,44 +29,45 @@ | 25 line 25 | 26 line 26 | 27 line 27 -| 28 line 28 +| /tmp/pardes-snap/jumps/cwd/big.txt:1 == snap to-shell grid=150x31 cursor=79,5 |1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol |2: /tmp/pardes-snap/jumps/cwd/big.txt Save Term Collapse Follow Del /tmp/pardes-snap/jumps/cwd Term+bash Save Mode Filter Collapse Del |3: 1 line 1 ls |4: 2 line 2 big.txt +|30: /tmp/pardes-snap/jumps/cwd == snap to-file grid=150x31 cursor=7,3 -== snap goto-100 grid=150x31 cursor=7,27 -|3: 76 line 76 ls -|4: 77 line 77 big.txt -|5: 78 line 78 -|6: 79 line 79 -|7: 80 line 80 -|8: 81 line 81 -|9: 82 line 82 -|10: 83 line 83 -|11: 84 line 84 -|12: 85 line 85 -|13: 86 line 86 -|14: 87 line 87 -|15: 88 line 88 -|16: 89 line 89 -|17: 90 line 90 -|18: 91 line 91 -|19: 92 line 92 -|20: 93 line 93 -|21: 94 line 94 -|22: 95 line 95 -|23: 96 line 96 -|24: 97 line 97 -|25: 98 line 98 -|26: 99 line 99 -|27: 100 line 100 -|28: 101 line 101 -|29: 102 line 102 -|30: 103 line 103 +|30: ✓ @p2 Window 1 message · SPC h m +== snap goto-100 grid=150x31 cursor=7,26 +|3: 77 line 77 ls +|4: 78 line 78 big.txt +|5: 79 line 79 +|6: 80 line 80 +|7: 81 line 81 +|8: 82 line 82 +|9: 83 line 83 +|10: 84 line 84 +|11: 85 line 85 +|12: 86 line 86 +|13: 87 line 87 +|14: 88 line 88 +|15: 89 line 89 +|16: 90 line 90 +|17: 91 line 91 +|18: 92 line 92 +|19: 93 line 93 +|20: 94 line 94 +|21: 95 line 95 +|22: 96 line 96 +|23: 97 line 97 +|24: 98 line 98 +|25: 99 line 99 +|26: 100 line 100 +|27: 101 line 101 +|28: 102 line 102 +|29: 103 line 103 == snap back-in-file grid=150x31 cursor=7,3 -|3: 1 line 1 Back ls +|3: 1 line 1 ls |4: 2 line 2 big.txt |5: 3 line 3 |6: 4 line 4 @@ -93,45 +94,45 @@ |27: 25 line 25 |28: 26 line 26 |29: 27 line 27 -|30: 28 line 28 +|30: ✓ /tmp/pardes-snap/jumps/cwd/big.txt Back 2 messages · SPC h m == snap back-to-shell grid=150x31 cursor=79,5 +|30: ✓ /tmp/pardes-snap/jumps/cwd/big.txt Back ×2 2 messages · SPC h m == snap forward-file grid=150x31 cursor=7,3 -|3: 1 line 1 ls Forward -== snap forward-100 grid=150x31 cursor=7,17 -|3: 86 line 86 Forward ls -|4: 87 line 87 big.txt -|5: 88 line 88 -|6: 89 line 89 -|7: 90 line 90 -|8: 91 line 91 -|9: 92 line 92 -|10: 93 line 93 -|11: 94 line 94 -|12: 95 line 95 -|13: 96 line 96 -|14: 97 line 97 -|15: 98 line 98 -|16: 99 line 99 -|17: 100 line 100 -|18: 101 line 101 -|19: 102 line 102 -|20: 103 line 103 -|21: 104 line 104 -|22: 105 line 105 -|23: 106 line 106 -|24: 107 line 107 -|25: 108 line 108 -|26: 109 line 109 -|27: 110 line 110 -|28: 111 line 111 -|29: 112 line 112 -|30: 113 line 113 +|30: ✓ @p2 Forward 3 messages · SPC h m +== snap forward-100 grid=150x31 cursor=7,16 +|3: 87 line 87 ls +|4: 88 line 88 big.txt +|5: 89 line 89 +|6: 90 line 90 +|7: 91 line 91 +|8: 92 line 92 +|9: 93 line 93 +|10: 94 line 94 +|11: 95 line 95 +|12: 96 line 96 +|13: 97 line 97 +|14: 98 line 98 +|15: 99 line 99 +|16: 100 line 100 +|17: 101 line 101 +|18: 102 line 102 +|19: 103 line 103 +|20: 104 line 104 +|21: 105 line 105 +|22: 106 line 106 +|23: 107 line 107 +|24: 108 line 108 +|25: 109 line 109 +|26: 110 line 110 +|27: 111 line 111 +|28: 112 line 112 +|29: 113 line 113 +|30: ✓ /tmp/pardes-snap/jumps/cwd/big.txt Forward 4 messages · SPC h m == snap last grid=150x31 cursor=79,5 -|3: 86 line 86 Last ls -== snap last-back grid=150x31 cursor=7,17 -|3: 86 line 86 ls Last +|30: ✓ /tmp/pardes-snap/jumps/cwd/big.txt Last 5 messages · SPC h m +== snap last-back grid=150x31 cursor=7,16 +|30: ✓ @p2 Last 6 messages · SPC h m == snap jumplist grid=150x31 cursor=hidden -|3: 86 line 86 Jumplist ls |16: /tmp/pardes-snap/jumps/cwd/+Jumps Save Term Collapse Follow LocationsConf |17: ig Del |18: 1 @p2:3:3 /tmp/pardes-snap/jumps/cwd @@ -146,9 +147,8 @@ |27: |28: |29: -|30: +|30: ✓ /tmp/pardes-snap/jumps/cwd/big.txt Jumplist 7 messages · SPC h m == snap step1-shell grid=150x31 cursor=79,5 -|3: 86 line 86 ls == style step1-shell grid=150x31 |0: 0-1 d,#1d2824, 2-149 #b2c3b8,#1d2824, |1: 0-1 d,#887455, 2-74 #b2c3b8,#1d2824, 75-76 #b2c3b8,#887455, 77-149 #becfc4,#314738, @@ -180,7 +180,7 @@ |27: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, |28: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, |29: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, -|30: 0-0 d,#608269, 1-74 d,#0d1410, 75-75 d,#608269, 76-149 d,#0d1410, +|30: 0-1 d,#1d2824, 2-149 #67756e,#1d2824, == snap step2-file grid=150x31 cursor=7,3 |3: 1 line 1 ls |4: 2 line 2 big.txt |
