README ¶ keybinding A golang wrapper for parsing gocui keybindings. // get a single keybinding keybinding.Parse("ctrl+c") // get a list of keybindings keybinding.ParseAll("ctrl+A, ctrl+B, CTRL+ALT+C") Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Key func MustParse(input string) Key func MustParseAll(input string) []Key func Parse(input string) (Key, error) func ParseAll(input string) ([]Key, error) func (key Key) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Key ¶ type Key struct { Value gocui.Key Modifier gocui.Modifier Tokens []string } func MustParse ¶ func MustParse(input string) Key func MustParseAll ¶ func MustParseAll(input string) []Key func Parse ¶ func Parse(input string) (Key, error) func ParseAll ¶ func ParseAll(input string) ([]Key, error) func (Key) String ¶ func (key Key) String() string Source Files ¶ View all Source files keybinding.go Directories ¶ Show internal Collapse all Path Synopsis examples Click to show internal directories. Click to hide internal directories.