filter

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: MIT Imports: 5 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 {
	Filter             string
	PrefixStyle        lipgloss.Style
	FilterStyle        lipgloss.Style
	AppliedFilterStyle lipgloss.Style
	EditingFilterStyle lipgloss.Style
	// 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) SetPrefix

func (m *Model) SetPrefix(prefix string)

func (Model) Update

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

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