searchinput

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: MIT Imports: 4 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 NewModel

func NewModel() Model

func (Model) BoxView added in v0.1.1

func (m Model) BoxView() string

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) IsFocused

func (m Model) IsFocused() bool

func (*Model) SetFocused

func (m *Model) SetFocused(focused bool)

func (*Model) SetSize

func (m *Model) SetSize(width, height int)

func (*Model) SetTheme

func (m *Model) SetTheme(th theme.Theme)

func (Model) Update

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

func (Model) View

func (m Model) View() tea.View

type SearchExecutedMsg

type SearchExecutedMsg struct {
	Query string
}

Jump to

Keyboard shortcuts

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