package cbind

Import Path
	code.rocketnine.space/tslocum/cbind (on go.dev)

Dependency Relation
	imports 6 packages, and imported by 2 packages

Involved Source Files configuration.go Package cbind provides tcell key event encoding, decoding and handling. The NewConfiguration example demonstrates how to use cbind. There are some limitations on reading keyboard input, which is explained in the tcell.EventKey documentation: https://godoc.org/github.com/gdamore/tcell#EventKey key.go
Package-Level Type Names (only one)
/* sort by: | */
Configuration maps keys to event handlers and processes key events. Capture handles key events. Clear removes all handlers. Set sets the handler for a key event string. SetKey sets the handler for a key. SetRune sets the handler for a rune. func NewConfiguration() *Configuration
Package-Level Functions (total 3)
Decode decodes a string as a key or combination of keys.
Encode encodes a key or combination of keys a string.
NewConfiguration returns a new input configuration.
Package-Level Variables (total 2)
ErrInvalidKeyEvent is the error returned when encoding or decoding a key event fails.
UnifyEnterKeys is a flag that determines whether or not KPEnter (keypad enter) key events are interpreted as Enter key events. When enabled, Ctrl+J key events are also interpreted as Enter key events.
Package-Level Constants (total 4)
Modifier labels
Modifier labels
Modifier labels
Modifier labels