Versions in this module Expand all Collapse all v0 v0.1.5 Mar 28, 2021 Changes in this version + const LabelAlt + const LabelCtrl + const LabelMeta + const LabelShift + var ErrInvalidKeyEvent = errors.New("invalid key event") + var UnifyEnterKeys = true + func Decode(s string) (mod tcell.ModMask, key tcell.Key, ch rune, err error) + func Encode(mod tcell.ModMask, key tcell.Key, ch rune) (string, error) + type Configuration struct + func NewConfiguration() *Configuration + func (c *Configuration) Capture(ev *tcell.EventKey) *tcell.EventKey + func (c *Configuration) Clear() + func (c *Configuration) Set(s string, handler func(ev *tcell.EventKey) *tcell.EventKey) error + func (c *Configuration) SetKey(mod tcell.ModMask, key tcell.Key, ...) + func (c *Configuration) SetRune(mod tcell.ModMask, ch rune, handler func(ev *tcell.EventKey) *tcell.EventKey)