Versions in this module Expand all Collapse all v0 v0.10.0 Apr 21, 2023 Changes in this version + type Binding struct + func GenerateBindings(gui *gocui.Gui, influence string, infos []BindingInfo) ([]*Binding, error) + func NewBinding(gui *gocui.Gui, influence string, key gocui.Key, mod gocui.Modifier, ...) (*Binding, error) + func NewBindingFromConfig(gui *gocui.Gui, influence string, configKeys []string, displayName string, ...) (*Binding, error) + func (binding *Binding) RegisterSelectionFn(selectedFn func() bool) + func (binding *Binding) RenderKeyHelp() string + type BindingInfo struct + ConfigKeys []string + Display string + IsSelected func() bool + Key gocui.Key + Modifier gocui.Modifier + OnAction func() error