diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-26 01:14:33 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-26 02:11:21 -0300 |
| commit | 1ce3bcb6178b720058518a12e45f25769be7d39c (patch) | |
| tree | 29b78d95235d06de3bf85bc8a748e8c940546c87 /dev/macos | |
| parent | d75f8947fde8d2fa425ee0b60c7a687a0ff9f314 (diff) | |
| download | pardes-1ce3bcb6178b720058518a12e45f25769be7d39c.tar.gz pardes-1ce3bcb6178b720058518a12e45f25769be7d39c.zip | |
Pick, Prompt, keys: Ctrl-r in a picker unrolls its source's earlier queries (UX DESIGN L2's last line, "Small, any of them: `C-r` in a picker recalls that source's earlier queries, as prompts do", in the L options the user liked; the coordinator's item 4): a history per source (Find, Grep, Recent, Panes, Symbols, All, ...; Lists keeps none), kept as the prompts' are, beside them (`Prompt.History.pick`, a `Ring` per source: the last 16 lines of a field's room, an older copy of a line gone, the same dump and digest walk, held to its count), a query kept as its picker rolls up with it typed, which a landing does too (Pick.rollUp); Ctrl-r in a picker is a band step like any other (the spine's `history`, beside the rows): its lines newest first, those holding the field, a cursor on one; Down and Up (C-n, C-p) move that cursor, Enter puts its line in the field and the picker filters again, Ctrl-r rolls it up and so does Esc, back to the picker (Pick.closeHistory, asked by keys.tagStateKey before its Esc rolls the tag to rest); anything else types in the field, which filters both; out of it Up and Down are the rows' cursor, no recall; Prompt's history step, its cursor and its rows take the ring, the field and the cursor as arguments now (historyStep, historyAt, historyRows, historyKey: Down and Up's walk, once in Prompt.key), one for the prompts and the pickers; the reference's "Back to a picker" says it; RUN (TEST FIRST): Pick.zig "Ctrl-r in a picker unrolls its source's earlier queries ..." types SPC f f `words` Enter, a Grep left with `in_w`, then SPC f f Ctrl-r and asks the band's history rows (`words` alone: Grep's is not Find's), Esc (the band rolled up, the picker live), Ctrl-r Enter (`words` in the field, the rows one), Grep's Ctrl-r (`in_w`), a Lists left typed (nothing kept), then seventeen Find queries (16 kept, q1 the oldest, q16 the newest) and Ctrl-r over the field `q1` (q16 .. q10, q1, no `words`): on L'3's tree the first Ctrl-r shows no history (Pick.zig:3196, expected `words`), passes now; a user hit it on every picker whose earlier query they wanted again; docs/typ/builtins-gui.json regenerated here for L'3's Lists and Resume's doc (the window build's list); with L'1 to L'3 under it: core-test 1128/1301 (173 skipped), shell-test 1349/1352 (3 skipped), pane-test 183/184, behaviour-test 280/280 and --replay 280/280, process-test 1 of 147 failed (ttyhelp, the merge's placeholder), term-test 17/17, kitty-test 45/45, the gui unit-test 1952/1956 (4 skipped; its perf check's BaselineHarnessMismatch, every base's); the dump fuzz (Prompt.History.pick) at 40,000 join seeds twice and 1,779 image seeds 13/13; the soak replicas --clients 5 --rtt 30,80,207: diverged 0, unequal 0, quiet checks 492/0 457/0 491/0, stops not on may_wait 0, the corpus 22 of 22 scenes the same, no leak; no frame or perf gate (the user's rule of 2026-11-26: at the programme's end); load 3.4 to 14.0
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'dev/macos')
0 files changed, 0 insertions, 0 deletions
