Expand description
Slash-command picker widget — small popup above the prompt listing fuzzy-matched commands with their risk badge and summary.
Layout convention: the picker occupies the bottom rows of the conversation pane, directly above the prompt. It is not a modal — operators can ignore it entirely and press Enter to submit whatever they typed; the picker exists purely as discovery. Tab is the only key that commits a selection into the buffer.
Matched characters in each row’s name are bolded so the
operator can see why a result ranked; unmatched characters
render dim. The selected row gets a reversed-video background
and a leading chevron (›) so screen-reader users can also
tell which row is active (a paired ARIA-role pass lands with
the screen-reader mode addition).
Structs§
Functions§
- picker_
rows - Rows the picker will actually consume in the layout at the
caller’s current width. Never more than
PICKER_MAX_VISIBLE; never more than the number of matches.