Expand description
Headless prompt / input-box primitive (bottom bar, command palette).
Structs§
- Prompt
Item - One selectable row in a palette-style prompt (commands, files, matches).
- Prompt
Spec - How a prompt was opened. Semantics belong to hooks; this is only the view-model a frontend renders.
- Prompt
State - Headless single-line input + item list + history.
Enums§
- Prompt
Action - What
PromptState::handle_keydecided for a keystroke. - Prompt
Placement - Where a frontend should render an open prompt.
Functions§
- fuzzy_
filter - Filters item labels against
query, returning(index, score)pairs sorted by score descending, index ascending. - fuzzy_
score - Scores
candidateagainstqueryas a case-insensitive subsequence.