Documentation
¶
Index ¶
- type Model
- func (m *Model) Blur()
- func (m *Model) BlurAndClear()
- func (m *Model) DecrementFilteredSelectionNum()
- func (m *Model) Focus()
- func (m Model) Focused() bool
- func (m Model) GetContextualMatchIdx() int
- func (m Model) HasContextualMatches() bool
- func (m Model) HasFilterText() bool
- func (m *Model) IncrementFilteredSelectionNum()
- func (m Model) IsRegex() bool
- func (m Model) Matches(renderable Renderable) bool
- func (m *Model) ResetContextualFilterMatchNum()
- func (m *Model) SetFilteringWithContext(filteringWithContext bool)
- func (m *Model) SetIndexesMatchingFilter(indexes []int)
- func (m *Model) SetIsRegex(isRegex bool)
- func (m *Model) SetSuffix(suffix string)
- func (m *Model) SetValue(value string)
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m *Model) UpdateLabelAndSuffix()
- func (m Model) Value() string
- func (m Model) View() string
- type Renderable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { KeyMap filterKeyMap FilteringWithContext bool // contains filtered or unexported fields }
func (*Model) BlurAndClear ¶
func (m *Model) BlurAndClear()
func (*Model) DecrementFilteredSelectionNum ¶ added in v0.2.0
func (m *Model) DecrementFilteredSelectionNum()
func (Model) GetContextualMatchIdx ¶
func (Model) HasContextualMatches ¶ added in v0.4.0
func (Model) HasFilterText ¶
func (*Model) IncrementFilteredSelectionNum ¶ added in v0.2.0
func (m *Model) IncrementFilteredSelectionNum()
func (Model) Matches ¶
func (m Model) Matches(renderable Renderable) bool
func (*Model) ResetContextualFilterMatchNum ¶ added in v0.2.0
func (m *Model) ResetContextualFilterMatchNum()
func (*Model) SetFilteringWithContext ¶
func (*Model) SetIndexesMatchingFilter ¶
func (*Model) SetIsRegex ¶
func (*Model) UpdateLabelAndSuffix ¶
func (m *Model) UpdateLabelAndSuffix()
type Renderable ¶
type Renderable interface {
Render() string
}
Click to show internal directories.
Click to hide internal directories.