Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultKeyMap = KeyMapTyp{ Switch: key.NewBinding( key.WithKeys("tab"), key.WithHelp("tab", "switch focus"), ), Backward: key.NewBinding( key.WithKeys("esc", "backspace"), key.WithHelp("esc/backspace", "go back"), ), Enter: key.NewBinding( key.WithKeys("enter"), key.WithHelp("enter", "explore"), ), Exit: key.NewBinding( key.WithKeys("q", "ctrl+c"), key.WithHelp("q/ctrl+c", "exit"), ), }
Functions ¶
Types ¶
type DynamicKeyMap ¶
func (DynamicKeyMap) FullHelp ¶
func (d DynamicKeyMap) FullHelp() [][]key.Binding
func (DynamicKeyMap) ShortHelp ¶
func (d DynamicKeyMap) ShortHelp() []key.Binding
Click to show internal directories.
Click to hide internal directories.