package
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Nov 30, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Struct that holds a key and a command
type Key struct {
Code tcell.Key
Char rune
}
Key is a structure that represents a key that can be bound
to an command
Map is a collection of keybinds
Resolve translates a tcell.EventKey to a
command based on the bindings in the map.
If no binding could be found. commands.Noop is returned.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.