Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultMultiKeyMap = KeyMap{ Up: key.NewBinding( key.WithKeys("up"), key.WithHelp("↑", "move up"), ), Down: key.NewBinding( key.WithKeys("down"), key.WithHelp("↓", "move down"), ), Choice: key.NewBinding( key.WithKeys("tab"), key.WithHelp("tab", "choice it"), ), Confirm: key.NewBinding( key.WithKeys("enter"), key.WithHelp("enter", "confirm and quit"), ), }
View Source
var DefaultSingleKeyMap = KeyMap{ Up: key.NewBinding( key.WithKeys("up"), key.WithHelp("↑", "move up"), ), Down: key.NewBinding( key.WithKeys("down"), key.WithHelp("↓", "move down"), ), Choice: key.NewBinding( key.WithKeys("tab"), key.WithHelp("tab", "choice it"), ), Confirm: key.NewBinding( key.WithKeys("ctrl+c", "tab"), key.WithHelp("ctrl+c/tab", "quit"), ), }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.