diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-25 14:43:11 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-25 14:54:43 -0300 |
| commit | ed518c211808ebee46f934320569d86121a8a739 (patch) | |
| tree | 685fa81689b1effe40a83feda73c0abab94271ce /dev/Shell.zig | |
| parent | fca359d77acc97b4764b9daf9fc3c3724b927be2 (diff) | |
| download | pardes-ed518c211808ebee46f934320569d86121a8a739.tar.gz pardes-ed518c211808ebee46f934320569d86121a8a739.zip | |
Pick: a Messages picker's key cells are SPC h's, its level, as every other picker's are its level's (Find's `f`, Themes' `t`), so Backspace on its empty field goes back to SPC h unrolled instead of killing the session: found while item 1 held a loaded view's SPC keys to a group; THE CAUSE: Pick.words gave `.messages` the keys `hm`, its builtin's whole chord (SPC h m, a leaf), where the others name the group their builtin is in; `back` (Backspace on an empty field, no refinement to undo) puts those keys in the view's SPC path and unrolls their level, so the level of a leaf, which has no children: Band.takes still gives a band of doc_rows and Band.of indexes `level[at]` (Band.zig:216) on the empty level; RUN (TEST FIRST): Pick.zig "Backspace on a Messages picker's empty field goes back to the level it was run from, SPC h, unrolled and drawn: ..." fails on the base at its SPC path (`hm` for `h`), and a probe on the base that draws after the Backspace panics: `index out of bounds: index 0, len 0` at Band.zig:216 (Band.of, from draw.zig joinBand, renderPane, render); passes now; THE FIX: `.messages`' keys `h` (its head `␣ h Messages`, as Find's is `␣ f Find`); Actions keep `la` (a code actions picker's Backspace edits its field: it never goes back), as Themes' Backspace does; a user could hit it with three keys and a Backspace: SPC h m, then Backspace; core-test 1100/1271 (171 skipped; one failure in the whole run, dev/host_io.zig "the walk reaches the leaf: bash -c 'sleep 30' takes the tty" (its pid walk found no child, expected 1, at load 6 to 8), passes run alone: a process-tree probe's timing, nothing of this change), shell-test 1319/1322 (3 skipped), process-test 0 of 147 failed (3 skipped); load 5 to 8
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'dev/Shell.zig')
0 files changed, 0 insertions, 0 deletions
