Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultKeyMap = KeyMap{ NextOption: key.NewBinding( key.WithKeys("tab"), key.WithHelp("tab", "next option"), ), Up: key.NewBinding( key.WithKeys("up"), key.WithHelp("↑", "move up"), ), Down: key.NewBinding( key.WithKeys("down"), key.WithHelp("↓", "move down"), ), Submit: key.NewBinding( key.WithKeys("enter"), key.WithHelp("⏎", "submit answer"), ), Help: key.NewBinding( key.WithKeys("ctrl+h"), key.WithHelp("ctrl+h", "toggle additional help"), ), Quit: key.NewBinding( key.WithKeys("ctrl+q", "ctrl+c"), key.WithHelp("ctrl+q", "quit"), ), }
Functions ¶
This section is empty.
Types ¶
type KeyMap ¶
Click to show internal directories.
Click to hide internal directories.