Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEventsChannel ¶
Types ¶
type EntryFinalSelectEvent ¶
type EntryFinalSelectEvent struct {
// contains filtered or unexported fields
}
func (EntryFinalSelectEvent) State ¶
func (e EntryFinalSelectEvent) State() SearchState
type EscapeEvent ¶
type EscapeEvent struct {
// contains filtered or unexported fields
}
func (EscapeEvent) State ¶
func (e EscapeEvent) State() SearchState
type Event ¶
type Event interface {
State() SearchState
}
Event any event that can happen inside the application
type ScreenResizeEvent ¶
type ScreenResizeEvent struct {
// contains filtered or unexported fields
}
func (ScreenResizeEvent) State ¶
func (e ScreenResizeEvent) State() SearchState
type SearchState ¶
SearchState current state of the search
func (SearchState) Entry ¶
func (state SearchState) Entry(searcher search.TextSearcher, sorter search.Compare) search.Document
func (SearchState) FilteredLines ¶
func (state SearchState) FilteredLines(searcher search.TextSearcher, sorter search.Compare) []search.Document
type SearchStateChanged ¶
type SearchStateChanged struct {
// contains filtered or unexported fields
}
func (SearchStateChanged) State ¶
func (e SearchStateChanged) State() SearchState
type StateChangeNotifier ¶
type StateChangeNotifier struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.