filter

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func New

func New(prefix string) Model

func (*Model) Blur

func (m *Model) Blur()

func (*Model) BlurAndClear

func (m *Model) BlurAndClear()

func (*Model) Focus

func (m *Model) Focus()

func (Model) Focused

func (m Model) Focused() bool

func (Model) HasFilterText added in v0.13.0

func (m Model) HasFilterText() bool

func (*Model) SetPrefix

func (m *Model) SetPrefix(prefix string)

func (*Model) SetSuffix added in v0.13.0

func (m *Model) SetSuffix(suffix string)

func (*Model) ToggleCompact added in v0.10.0

func (m *Model) ToggleCompact()

func (Model) Update

func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)

func (Model) Value added in v0.7.0

func (m Model) Value() string

func (Model) View

func (m Model) View() string

func (Model) ViewHeight

func (m Model) ViewHeight() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL