diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-25 14:20:01 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-25 14:32:15 -0300 |
| commit | f1b8c2acf131a38a85232c5c268b9b900c21d877 (patch) | |
| tree | ccb3f5f68d58ef2635dea8bdbac6fdd90bd6224b /test/snapshots/msg.golden | |
| parent | 89fb37907f34c0a55b85da44ea8f016b3e41081d (diff) | |
| download | pardes-f1b8c2acf131a38a85232c5c268b9b900c21d877.tar.gz pardes-f1b8c2acf131a38a85232c5c268b9b900c21d877.zip | |
Messages: a message too wide for the notice row gives way by its items, each cut showing `…` (UX D2, E5.4, F2): its cause first (a path from its left down to its name, `…Query.zig`; a command from its right down to its pane, `@p2…`), then each path its words and places name, from its left down to its name, and its words last, from the right, two blanks before the right part as before: noticeRow cut a message's whole left from the right, so a long cause path took the row and the words never showed (S2 08b at 26 px: `· /tmp/…/sources/of/th… 3 messages`, the message itself gone), a path in its words was cut on the right (08a: `saved /tmp/…/to/the/sources…`), and the place an error names was cut into (09a: `… exit 1 /tmp/c…`); causeWord's command cut (64 bytes) ends in `…` too (09a: `argument(s), fo exit 1`); the new giveWay walks an item's cells once from the end it cuts (no width sum per byte); a row that fits is built as before, byte for byte; TEST FIRST: Messages "a message too wide for the notice row gives way by its items ..." (08b, 08a and 09a's rows at 97 cells, and a command pane's cause word: fails on the base at Messages.zig:1735, 08b's left not `· …Query.zig the build in the other column finished`); a user hits it whenever a message and its cause or place are wider than the window's foot row; goldens (process-test, regenerated and every changed row read): the notice row of badutf, shellset, savepane, msg (two rows), lookloaded, lsp-rename-files, wrap, tagpath, tagalign (two rows) and wheeldrift now shows the message's words where the cause path took the row (`· …des-snap/msg/cwd/a.txt hand-written report` for `· /tmp/pardes-snap/msg/cwd/a.txt hand-writte…`, `✗ …cmd.txt Shell: shell "zznosuchshell" not found (a name on the…` for `✗ /tmp/pardes-snap/shellset/cwd/cmd.txt Shell: shell "zznosuchsh…`), a path in the words whole (savepane's `saved …/saved.txt`); wrap gains a frame, its `Wrap ×2` now shown where both frames read `✓ /tmp/pardes-snap/wrap…`; nothing else moved
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'test/snapshots/msg.golden')
| -rw-r--r-- | test/snapshots/msg.golden | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/snapshots/msg.golden b/test/snapshots/msg.golden index 834d2219..529b3ad9 100644 --- a/test/snapshots/msg.golden +++ b/test/snapshots/msg.golden @@ -58,8 +58,8 @@ |2: */tmp/pardes-snap/msg/cwd/a.txt Save Term Collapse Follow Del |4: 2 |5: 3 Msg hand-written report -|16: · /tmp/pardes-snap/msg/cwd/a.txt hand-writte… 7 messages · SPC h m +|16: · …des-snap/msg/cwd/a.txt hand-written report 7 messages · SPC h m == snap msgtail grid=70x17 cursor=32,7 |6: 4 Msg 0123456789 0123456789 0123456789 0123456789 0123456789 012↩ |7: 3456789 0123456789 THE-END -|16: · /tmp/pardes-snap/msg/cwd/a.txt 0123456789 … 9 messages · SPC h m +|16: · …a.txt 0123456789 0123456789 0123456789 01… 9 messages · SPC h m |
