Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyMap ¶
type KeyMap struct { Esc key.Binding Enter key.Binding Slash key.Binding // contains filtered or unexported fields }
func DefaultKeyMap ¶
func DefaultKeyMap() KeyMap
type Model ¶
type Model struct { Viewport // contains filtered or unexported fields }
Model wraps the viewport.Model type.
It adds the following functionality:
- A text input for filtering the content
- Focus/blur functionality
- Loading spinner
- Empty state message
func (*Model) SetContent ¶
func (*Model) StartSpinner ¶
func (*Model) StopSpinner ¶
func (m *Model) StopSpinner()
Click to show internal directories.
Click to hide internal directories.