Versions in this module Expand all Collapse all v1 v1.0.1 Oct 7, 2025 Changes in this version + func ChooseMany(title string, isLastStep bool, options []string) ([]string, error) + func ChooseOne(title string, isOptionalStep bool, isLastStep bool, options []string) (string, error) + func List(items []string) error + func New(items []string, delegate ItemDelegate, width, height int) listModel + func Send(cmd *cobra.Command, args []string, ...) error + type FilterFunc func(string, []string) []Rank + type FilterMatchesMsg []filteredItem + type FilterState int + const FilterApplied + const Filtering + const Unfiltered + func (f FilterState) String() string + type Input struct + IsPassword bool + Placeholder string + Value *string + func TextInputs(title string, isLastStep bool, values ...Input) ([]Input, error) + type Item interface + FilterValue func() string + type ItemDelegate interface + Height func() int + Render func(w io.Writer, m listModel, item string) + Spacing func() int + Update func(msg tea.Msg, m *listModel) tea.Cmd + type KeyMap struct + AcceptWhileFiltering key.Binding + CancelWhileFiltering key.Binding + ClearFilter key.Binding + Filter key.Binding + NextPage key.Binding + PrevPage key.Binding + Quit key.Binding + func DefaultKeyMap() KeyMap + type ListModel struct + func (m ListModel) Init() tea.Cmd + func (m ListModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) + func (m ListModel) View() string + type Rank struct + Index int + MatchedIndexes []int + func DefaultFilter(term string, targets []string) []Rank v1.0.1-alpha Jan 22, 2026