summaryrefslogtreecommitdiff
path: root/test/snapshots/exec-bigdrag.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/exec-bigdrag.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/exec-bigdrag.golden')
-rw-r--r--test/snapshots/exec-bigdrag.golden29
1 files changed, 15 insertions, 14 deletions
diff --git a/test/snapshots/exec-bigdrag.golden b/test/snapshots/exec-bigdrag.golden
index 6290882a..54015143 100644
--- a/test/snapshots/exec-bigdrag.golden
+++ b/test/snapshots/exec-bigdrag.golden
@@ -2,12 +2,8 @@
| 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/exec-bigdrag/cwd Term+bash Save Mode Filter Collapse Del /tmp/pardes-snap/exec-bigdrag/cwd Term+bash Save Mode Filter Collapse Del
-| ls 2
-| big.txt bash: 91line: command not found
-| 802line 2803line 2804line 2805line 2806line 2807line 2808line 2809line 2810line 2811line 2812lin
-| e
-| bash: 802line: command not found
-| 2813line 2814line 2815line 2816line 2817line 2818line 2819line 2820line 2821line 2822line 2823li
+| ls bash: 802line: command not found
+| big.txt 2813line 2814line 2815line 2816line 2817line 2818line 2819line 2820line 2821line 2822line 2823li
| ne
| bash: 2813line: command not found
| 2824line 2825line 2826line 2827line 2828line 2829line 2830line 2831line 2832line 2833line 2834l
@@ -31,17 +27,17 @@
| 89line 2890line 2891line 2892line 2893line 2894line 2895line 2896line 2897line 2898line 2899line
| 2
| bash: 89line: command not found
-| /tmp/pardes-snap/exec-bigdrag/cwd Term+bash Save Mode Filter Collapse Del 900line 2901line 2902line 2903line 2904line 2905line 2906line 2907line 2908line 2909line 2910lin
-| ls e
-| big.txt bash: 900line: command not found
-| 2911line 2912line 2913line 2914line 2915line 2916line 2917line 2918line 2919line 2920line 2921li
-| ne
-| bash: 2911line: command not found
-| 2echo alive-o''k922line 2923line 2924line 2925line 2926line 2927line 2928line 2929line 2930line 2
+| 900line 2901line 2902line 2903line 2904line 2905line 2906line 2907line 2908line 2909line 2910lin
+| e
+| bash: 900line: command not found
+| /tmp/pardes-snap/exec-bigdrag/cwd Term+bash Save Mode Filter Collapse Del 2911line 2912line 2913line 2914line 2915line 2916line 2917line 2918line 2919line 2920line 2921li
+| ls ne
+| big.txt bash: 2911line: command not found
+| 2922line 2923line 2924line 2925line 2926line 2927line 2928line 2929line 2930line 2931line 2932l
| in
| bash: 2922line: command not found
| e 2933line 2934line 2935line 2936line 2937line 2938line 2939line 2940line 2941line 2942line 2943
-| li
+| liecho alive-o''k
| bash: e: command not found
| ne 2944line 2945line 2946line 2947line 2948line 2949line 2950line 2951line 2952line 2953line 295
| 4l
@@ -56,6 +52,11 @@
| 29
| bash: 6line: command not found
| 87line 2988line 2989line 2990line 2991line 2992line 2993line 2994line 2995line 2996line 2997line
+| 2
| bash: 87line: command not found
+| 998line 2999line 3000
+| bash: 998line: command not found
| echo alive-o''k
| alive-ok
+|
+| · @p3 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m