diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-25 10:24:47 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-25 10:25:08 -0300 |
| commit | d7eec005d9f56384f439a09a92c2d05a571e96e8 (patch) | |
| tree | 2e06531381849d93ffffa930380bf63920949b4c /core/Band.zig | |
| parent | 0e3b4aa74a5969a3b8b298e9ffa3205399c9afdd (diff) | |
| download | pardes-d7eec005d9f56384f439a09a92c2d05a571e96e8.tar.gz pardes-d7eec005d9f56384f439a09a92c2d05a571e96e8.zip | |
Messages: the notice row's left text is cut with `…`, two blanks at least before its right block, the pane's path from the left so its name and line stay (`…/core/Store.zig:1`), a message or a sentence from the right (UX D2, DESIGN.md E5.4: "the notice row cutting a path mid-word into its right block", P1-L 06/07, P3 actions-L: one blank before `5 messages`); TEST FIRST: Messages.zig "the notice row's left is cut with `…` two blanks before its right block at least: the pane's path from the left, its name and line kept; a message from the right" (40 cells, a path of 53 bytes and `1 message · SPC h m`: on the base the row began `/home/someone/pro` with no `…` and one blank before the count); THE CHANGE: noticeRow leaves `width - (right block + 2)` cells to the left text (all of the row when there is no right block), and where the text is wider it keeps `room - 1` cells and a `…`: from the left when the text is the live pane's path:line (no message leads, no picker's sentence), from the right otherwise; the row is still exactly `width` cells (the gap after the cut is 2 or more); a rolled level's last leaf (the whole row, no right block) is as it was; the mouse reads the same row (mouse.zig noticeRow); GOLDENS: 20 regenerated (badutf chordcut edit hscroll layout-open look-file-1col lookloaded lookpanes lsp-rename-files modal msg savepane shellset shrinktag tagalign tagpath ttyedit ttylook wheeldrift wrap), every changed row the notice row and only it: a message cut from the right that ran into its count with one blank (`what the program draw 1 message · SPC h m`) now ends `…` two blanks before it (`what the program dr… 1 message · SPC h m`); no other row moved; core-test 1087/1258 (171 skipped), process-test 20 of 147 failed before the goldens (those 20, all GoldenMismatch), 0 of 103 tty cases after `-- --update`
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'core/Band.zig')
0 files changed, 0 insertions, 0 deletions
