Documentation
¶
Overview ¶
Package searchmodal is the full-text search modal TUI component.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyTheme ¶
ApplyTheme updates the searchmodal style vars from theme colors.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the full-screen search modal component.
func (Model) IsSearching ¶
IsSearching reports whether a search is in progress.
func (*Model) SetSize ¶
SetSize sets the available inner dimensions (excluding the surrounding border).
func (Model) StartSearch ¶
StartSearch returns a tea.Cmd that executes the current query asynchronously. Call after SetQuery when the query is pre-filled.
type OpenFileMsg ¶
type OpenFileMsg struct{ Paths []string }
OpenFileMsg signals the parent to open one or more files. Empty Paths slice means close modal without opening anything.
type SearchDoneMsg ¶
SearchDoneMsg is sent when an async search completes.
Click to show internal directories.
Click to hide internal directories.