From f1b8c2acf131a38a85232c5c268b9b900c21d877 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 25 Nov 2026 14:20:01 -0300 Subject: 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE --- test/snapshots/shellset.golden | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/snapshots/shellset.golden') diff --git a/test/snapshots/shellset.golden b/test/snapshots/shellset.golden index 2a59619f..8fb2abed 100644 --- a/test/snapshots/shellset.golden +++ b/test/snapshots/shellset.golden @@ -22,7 +22,7 @@ | /tmp/pardes-snap/shellset/cwd/cmd.txt:1 == snap builtin-ran grid=90x21 cursor=25,3 |2: ✗/tmp/pardes-snap/shellset/cwd/cmd.txt Keep Save Term Collapse Follow Del -|20: ✗ /tmp/pardes-snap/shellset/cwd/cmd.txt Shell: shell "zznosuchsh… 3 messages · SPC h m +|20: ✗ …cmd.txt Shell: shell "zznosuchshell" not found (a name on the… 3 messages · SPC h m == snap fallback-shell grid=90x21 cursor=49,6 |1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol |2: ✗/tmp/pardes-snap/shellset/cwd/cmd.txt Keep /tmp/pardes-snap/shellset/cwd Term+bash Sav -- cgit v1.3