Documentation ¶
Index ¶
- type Control
- type Item
- type ItemDelegate
- type Model
- func (m *Model) Init() tea.Cmd
- func (m *Model) InputValue() string
- func (m *Model) SetSize(w, h int)
- func (m *Model) SetSuggestions(best string, suggestions []string)
- func (m *Model) SuggestionValue() (string, bool)
- func (m *Model) Update(message tea.Msg) (*Model, tea.Cmd)
- func (m *Model) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemDelegate ¶
type ItemDelegate struct{}
func (ItemDelegate) Height ¶
func (d ItemDelegate) Height() int
func (ItemDelegate) Spacing ¶
func (d ItemDelegate) Spacing() int
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) InputValue ¶
func (*Model) SetSuggestions ¶
func (*Model) SuggestionValue ¶
Click to show internal directories.
Click to hide internal directories.