Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶ added in v0.7.0
Model is an interface for models.model, so that cycle imports are avoided
type Search ¶ added in v0.7.0
type Search struct { // Active - Show search bar instead of author and date? // Store keystrokes in Query? Active bool // Query stores the current "search term" SearchTextInput textinput.Model }
Search represents the current search
func NewSearch ¶ added in v0.7.2
func NewSearch() Search
NewSearch creates and returns a new search model with the default settings.
func (*Search) Begin ¶ added in v0.7.0
func (s *Search) Begin()
Begin a new search (deletes old buffer)
func (*Search) Done ¶ added in v0.7.0
func (s *Search) Done()
Done marks the search as done, but does not delete the search buffer. This is useful if, for example, you want to jump to the next result and you therefore still need the buffer.
Click to show internal directories.
Click to hide internal directories.