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 the list. CursorUp key.Binding CursorDown key.Binding NextPage key.Binding PrevPage key.Binding // Help toggle keybindings. ShowFullHelp key.Binding CloseFullHelp 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, which is used to render the menu menu.
func DefaultKeyMap ¶
func DefaultKeyMap() KeyMap
DefaultKeyMap returns a default set of keybindings.
Click to show internal directories.
Click to hide internal directories.