Expand description
Shared interactive pickers (type-to-filter FuzzySelect + ANSI theme).
Used by xbp deploy, xbp service, xbp linear, versioning, etc.
Cursor / active-row highlight uses a dark indigo 256-color background so
selection stays readable against busy multi-column labels.
Functions§
- confirm
- Confirm with the shared theme.
- pad_
label - Pad a string to
widthcolumns (char count; labels should stay ASCII-friendly). - print_
picker_ header - Print a short colored picker header above a select prompt.
- searchable_
multi_ select - Searchable multi-select. Returns selected indices (may be empty).
- searchable_
select - Searchable single-select (type to filter). Returns
Noneif cancelled. - searchable_
select_ required - Searchable single-select that errors if the user cancels (Esc).
- select_
one - Non-fuzzy single select (short lists: modes, env, etc.).
- xbp_
accent_ color - Accent color for TUI headers / borders (mid–light indigo).
- xbp_
selection_ style - Ratatui selection style matching
xbp_theme(dark indigo + bright text). Used by the full-screen Linear issues browser so pickers and TUI feel identical. - xbp_
theme - Rich dialoguer theme used across XBP interactive prompts.