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 // The quit-no-matter-what keybinding. This will be caught when filtering. ForceQuit 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 name of each tab Tabs []string //TabContents components inside each tab TabContents []tea.Model //ActiveTab index of the active tab ActiveTab int //KeyMap Key mappings for navigating the list. KeyMap KeyMap Help help.Model // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.