summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-25 14:18:24 -0300
committerGabriel Schneider <[email protected]>2026-11-25 14:19:43 -0300
commit600f2d071a1e78fa9d3af529395efcf803544fb5 (patch)
tree649aadb430c191289bca17afebe89ed254503f23 /docs
parente6c384833912598d65c509f0d3a7b713fab0a8eb (diff)
downloadpardes-600f2d071a1e78fa9d3af529395efcf803544fb5.tar.gz
pardes-600f2d071a1e78fa9d3af529395efcf803544fb5.zip
pick: a picker previews the row under its cursor from the frame its rows come, not only after the cursor moves: S2's sign-off shots (02a, 02d, 03b, both sizes) showed Find opened with its field empty leaving the body blank (the reader made for it) or its own file (a reading pane), no landing line and no `▸`, still so after 4.5 s, until ↓ then ↑; THE CAUSE (core/Pick.zig preview): the row a preview showed was kept as the cursor's index (`shown`) and set on the first tick even when the list had no row yet, so a Find's listing and a Grep's lines, which come frames after the field asked (a host's worker sends them by an input of their own; a Grep's after the typing's pause), arrived under a cursor already marked shown at row 0, and busy() owed no frame for them; THE FIX: `shown` is what the row is (idOf: a name's candidate, a line's index), set only when a row is under the cursor; busy() owes a frame while the row under the cursor is not the one shown and none while the list is empty (no wake every frame for a picker that matches nothing); landingLine reads it the same way; so the first row is previewed on the tick its rows come (the frame after the input that brought them), and again when another row comes under the cursor without a key (a better name scored in a later frame); TEST FIRST: Pick.zig "a picker previews the row under its cursor from the frame its rows come, when a frame with none came first ..." (Find from a held pane, a frame before its listing; Grep's lines after their pause, ticks with none before; no frame owed while empty): fails on the base at Pick.zig:2584, the reader's file still the empty one made for it; a user hit it at every Find and every Grep (S2's Grep shot moved the cursor first, which hid it); core-test filtered 1/1
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions