summaryrefslogtreecommitdiff
path: root/dev/gui/gui.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-25 12:09:51 -0300
committerGabriel Schneider <[email protected]>2026-11-25 12:14:12 -0300
commit1b9fbd1a2eea7a48c5a9575ecc2f4d31ed47909d (patch)
tree4dd93baed704855216d4b285831cb0c61ac74be9 /dev/gui/gui.zig
parent8af71053adc306b81c39429d6d1758bb6c81d363 (diff)
downloadpardes-1b9fbd1a2eea7a48c5a9575ecc2f4d31ed47909d.tar.gz
pardes-1b9fbd1a2eea7a48c5a9575ecc2f4d31ed47909d.zip
Band, layout: out of rest the notice row no longer makes a picker's band a second time each frame, and the layout works each pane's floor out once a pass (X1's perf notes on M7): Band.docLeft (the first line of a doc the band had no room for, which Messages.noticeRow asks every frame while a state is out of rest and no picker sentence leads) built the whole band again (Band.of: for a picker Pick.steps, its rows read from the source) only to find no doc: a picker's steps are lists, never a doc, so it returns at once on the `.pick` kind (a picker that previews already skips it: its D7 sentence leads; this is the themes and actions pickers and any picker with its preview turned off); prompts keep the call: `:`'s names have a doc step (Command.steps) and an answered `|` shows its output as one (Prompt.steps), so X1's "prompts have no doc" holds only for `/`'s history, and `/` with no history already returns on `takes == 0`; layout.keepTerminalFloors asked floorRows of every other pane for each row it moved, and a band host's floor wraps its tag twice (its rows at rest, wantedTagRows, and its head, headRows): the floors go into a MAX_PANES array once a pass (nothing in that loop moves them: each reads the state, the pane's width and its tag rows, never the heights it hands out), so a terminal under its floor in a band host's column no longer wraps the host's tag twice a row; NOT DONE: the floor's two wraps themselves (once a pass in a text column, as before) and Pardes.sync's own two for the same host (`kept` and the head's rows) are the same two numbers, each worked out twice in one sync: sharing them needs a stored value (a derived pane field, in the replica's lists), not a few lines: left; no behaviour moves (no test can tell: the doc is null either way, the floors the same); core-test 1095/1266 (171 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'dev/gui/gui.zig')
0 files changed, 0 insertions, 0 deletions