Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultDelegate ¶
type DefaultDelegate struct {
list.DefaultDelegate
}
type Delegate ¶
type Delegate struct { DefaultDelegate *DelegateKeyMap }
func NewDelegate ¶
func NewDelegate() *Delegate
type DelegateKeyMap ¶
type DelegateKeyMap struct { // Select module Choose key.Binding // Run Scaffold command Scaffold key.Binding }
DelegateKeyMap defines keybindings. It satisfies to the help.DelegateKeyMap interface, which is used to render the menu.
func NewDelegateKeyMap ¶
func NewDelegateKeyMap() *DelegateKeyMap
NewDelegateKeyMap returns a set of keybindings.
func (DelegateKeyMap) FullHelp ¶
func (d DelegateKeyMap) FullHelp() [][]key.Binding
Additional full help entries. This satisfies the help.KeyMap interface and is entirely optional.
func (DelegateKeyMap) ShortHelp ¶
func (d DelegateKeyMap) ShortHelp() []key.Binding
Additional short help entries. This satisfies the help.KeyMap interface and is entirely optional.
Click to show internal directories.
Click to hide internal directories.