summaryrefslogtreecommitdiff
path: root/core/bindings.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-25 06:26:22 -0300
committerGabriel Schneider <[email protected]>2026-11-25 06:26:22 -0300
commit56ca48879da0dd335097d695fb7f4b4b6fe5157b (patch)
tree4045a8fda6d4988b9d09d33ed4d7b64363e4658d /core/bindings.zig
parentea9a19700cc1c0bc22c08b1d31d7a62e5853b802 (diff)
downloadpardes-56ca48879da0dd335097d695fb7f4b4b6fe5157b.tar.gz
pardes-56ca48879da0dd335097d695fb7f4b4b6fe5157b.zip
Band, draw: drawing the band: its steps from two cells right of the last spine and the spines kept at every width, a list's rows 52 cells at most, a give-way that never clips, the cursor's row tinted across its step, the spines on through the tag's rows under the head (walk UI polish P1, UX DESIGN.md D5, geometry; the colours stay today's fields, `// P2: the rule role` where a spine is drawn): a band narrower than its steps dropped its spines and started its steps at the pane's left edge (shots 04-L, 08-L), a level or a list was as wide as its widest row whatever its length, and the tag's rows kept from rest under a one-row head were bare where the spines should run; now Band.place starts at the last spine + 2 always, makes a level's column its widest row and a list's 52 cells at most (`row_cells`), and gives way in UX D5's order: the head's hints first (D3), the doc leaves the band where it has no 24 cells, the last list unrolled (a picker's acts, M-l) takes the place of the others where they do not all fit, and one step left is held to the room there is (24 cells at least), its rows cut with `…` (D2's Band.cutRow): nothing runs off the right edge; draw.joinBand tints the cursor's row across its step's width, its `▶ ` lead too; draw.paintPaneTag draws a `│` under each key cell in the tag's rows under the head's own (the rows a tag keeps from rest, A2's rule), so the spines run unbroken from the head into the band; the box glyph stays on row 1 alone, the grip column under it the tag's ground (as it was in a terminal; the window's grip seams and the tag rule's place under the band are the window's: see the screenshots), the row meta of D5 is not built (no step has right-hand meta yet); TEST FIRST: Band.zig "a narrow band gives way and keeps its spines: the doc goes, the steps start two cells right of the last spine, no row past the band's edge; the spines run on through the tag's rows under the head" (44 columns, Help for SPC l: two spines, one step at the last spine + 2, every row within the band, `│` in the tag's second row under each key cell; on the parent the spines are dropped: 0, and the second row is blank); core-test 1069/1240 (171 skipped); process-test: fsearch regenerated and read: its nomatch snap's tag keeps two rows under a one-row prompt head, the second now with a `│` under the `/` key cell; a user saw the band lose its spines at 26 px
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'core/bindings.zig')
0 files changed, 0 insertions, 0 deletions