Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyMap ¶
type KeyMap struct {
// Keybindings used when browsing tabs.
NextPage key.Binding
PrevPage key.Binding
// The quit keybinding. This won't be caught when filtering.
Quit key.Binding
}
KeyMap defines keybindings. It satisfies to the help.KeyMap interface
func DefaultKeyMap ¶
func DefaultKeyMap() KeyMap
DefaultKeyMap returns a default set of keybindings.
type Model ¶
type Model struct {
Tabs []string
TabContents []subview.Model
ActiveTab int
KeyMap KeyMap
Help help.Model
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.