Documentation
¶
Index ¶
- type Dependency
- type FilterKeyMap
- type MainKeyMap
- type Model
- func (m Model) FullHelp() [][]key.Binding
- func (m *Model) GetSelectedIds() []string
- func (m Model) GetSize() (h, v int)
- func (m Model) Init() tea.Cmd
- func (m *Model) SetSize(h, v int)
- func (m Model) ShortHelp() []key.Binding
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type FilterKeyMap ¶
func (FilterKeyMap) FullHelp ¶
func (k FilterKeyMap) FullHelp() [][]key.Binding
func (FilterKeyMap) ShortHelp ¶
func (k FilterKeyMap) ShortHelp() []key.Binding
type MainKeyMap ¶
type MainKeyMap struct { Up key.Binding Down key.Binding PagePrev key.Binding PageNext key.Binding ToggleSelect key.Binding ToggleDescription key.Binding Filter key.Binding }
func (MainKeyMap) FullHelp ¶
func (k MainKeyMap) FullHelp() [][]key.Binding
func (MainKeyMap) ShortHelp ¶
func (k MainKeyMap) ShortHelp() []key.Binding
type Model ¶
type Model struct { Selected map[string]struct{} // contains filtered or unexported fields }
func New ¶
func New(dependencies ...Dependency) Model
func (*Model) GetSelectedIds ¶
Click to show internal directories.
Click to hide internal directories.