Documentation ¶ Index ¶ type Model func New() Model func (m *Model) Hide() func (m Model) IsVisible() bool func (m *Model) SetQuery(query string) func (m *Model) Show() func (m *Model) UpdateResults(matchCount, currentIdx int) func (m Model) View(width, height int) string 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() Model func (*Model) Hide ¶ func (m *Model) Hide() func (Model) IsVisible ¶ func (m Model) IsVisible() bool func (*Model) SetQuery ¶ func (m *Model) SetQuery(query string) func (*Model) Show ¶ func (m *Model) Show() func (*Model) UpdateResults ¶ func (m *Model) UpdateResults(matchCount, currentIdx int) func (Model) View ¶ func (m Model) View(width, height int) string Source Files ¶ View all Source files searchmodal.go Click to show internal directories. Click to hide internal directories.