diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-24 22:40:00 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-24 22:55:08 -0300 |
| commit | 7018de2abcf585e26024952cc0b4c97d25b3dc27 (patch) | |
| tree | 27867e8c1eadd7c702a252e5c3c6447a3c0e445f /core/panes.zig | |
| parent | 1dd5ae7a37588c42ae4b612deb767847b8a5a020 (diff) | |
| download | pardes-7018de2abcf585e26024952cc0b4c97d25b3dc27.tar.gz pardes-7018de2abcf585e26024952cc0b4c97d25b3dc27.zip | |
Messages, draw: a rolled level's last leaf is said on the notice row, the whole row, and the leader's chip is gone (walk UI G item 2a, SPEC §3.7's first mockup: `k Hover: the language server's hover (last used here)` on the row under the panes while SPC l is rolled): A's line under a rolled level (TagState.lastUsed) was a chip over the body's top rows, the last notice band kind but a prompt's; now Messages.noticeRow leads with it while the level shows, cut to the row's width, nothing on the right (the prototype's status() for an open leader step), and Row.lead names the message the left says, so paintNoticeRow tints the glyph and fades only a message's (it read headline() again); Pane.Notices.Kind is `prompt` alone (the notice bands' layers a pane 1 for 2: 64 fewer tag layers a Surface, A2's measure of what a layer costs a temporary Surface), Messages.leaderText and leader_room go, noticeText takes the pane alone, bands and collectNotices lose the view and slot they no longer read; the TreeContext test keeps its message half (no chip to look for); TEST FIRST: Messages.zig 'a rolled level's last leaf is said on the notice row, the whole row, never in a chip over the body; at rest the row is the messages' again' (on the merge the row says `/test.txt:1` and the pane has the chip); tui core-test 1033/1202 (169 skipped), process-test 0 of 146 failed (no golden shows a rolled level with a last leaf)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'core/panes.zig')
| -rw-r--r-- | core/panes.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/panes.zig b/core/panes.zig index 47765d90..f9c63e37 100644 --- a/core/panes.zig +++ b/core/panes.zig @@ -352,7 +352,7 @@ pub const Pane = struct { ovl: ?Text.EditBuffer = null, tty_filter: bool = false, /// The transient lines this pane shows between its body and its tagline: - /// the pending leader chord, a prompt waiting for input. Rebuilt every frame from the state that owns each one, so a + /// a prompt waiting for input. Rebuilt every frame from the state that owns each one, so a /// line that goes away is simply not added again and the rest close the /// gap -- there is no second copy of the truth to fall out of step. The /// body layer reserves exactly `len` rows for them, the way it already @@ -386,7 +386,7 @@ pub const Pane = struct { pub const Notices = struct { /// Painted bottom-up in this order, so a prompt keeps the row nearest /// the tagline that it has always had, and its cursor with it. - pub const Kind = enum { leader, prompt }; + pub const Kind = enum { prompt }; pub const max = @typeInfo(Kind).@"enum".field_names.len; kinds: [max]Kind = undefined, |
