Versions in this module Expand all Collapse all v1 v1.4.2 Sep 22, 2024 v1.4.1 Sep 22, 2024 Changes in this version + var AllDownKeys = append(DefaultDownKeys, append(DefaultEmacsDownKeys, DefaultVimDownKeys)) + var AllLeftKeys = append(DefaultLeftKeys, append(DefaultEmacsLeftKeys, DefaultVimLeftKeys)) + var AllRightKeys = append(DefaultRightKeys, append(DefaultEmacsRightKeys, DefaultVimRightKeys)) + var AllUpKeys = append(DefaultUpKeys, append(DefaultEmacsUpKeys, DefaultVimUpKeys)) + var DefaultDownKeys = []KeyPress + var DefaultEmacsDownKeys = []KeyPress + var DefaultEmacsLeftKeys = []KeyPress + var DefaultEmacsRightKeys = []KeyPress + var DefaultEmacsUpKeys = []KeyPress + var DefaultLeftKeys = []KeyPress + var DefaultRightKeys = []KeyPress + var DefaultUpKeys = []KeyPress + var DefaultVimDownKeys = []KeyPress + var DefaultVimLeftKeys = []KeyPress + var DefaultVimRightKeys = []KeyPress + var DefaultVimUpKeys = []KeyPress + var KeyPressDown KeyPress = NewKeyPress(tcell.KeyDown, 0, 0) + var KeyPressEnd KeyPress = NewKeyPress(tcell.KeyTab, 0, 0) + var KeyPressEnter KeyPress = NewKeyPress(tcell.KeyEnter, 0, 0) + var KeyPressEscape KeyPress = NewKeyPress(tcell.KeyEscape, 0, 0) + var KeyPressF = []KeyPress + var KeyPressF1 KeyPress = NewKeyPress(tcell.KeyF1, 0, 0) + var KeyPressF10 KeyPress = NewKeyPress(tcell.KeyF10, 0, 0) + var KeyPressF11 KeyPress = NewKeyPress(tcell.KeyF11, 0, 0) + var KeyPressF12 KeyPress = NewKeyPress(tcell.KeyF12, 0, 0) + var KeyPressF2 KeyPress = NewKeyPress(tcell.KeyF2, 0, 0) + var KeyPressF3 KeyPress = NewKeyPress(tcell.KeyF3, 0, 0) + var KeyPressF4 KeyPress = NewKeyPress(tcell.KeyF4, 0, 0) + var KeyPressF5 KeyPress = NewKeyPress(tcell.KeyF5, 0, 0) + var KeyPressF6 KeyPress = NewKeyPress(tcell.KeyF6, 0, 0) + var KeyPressF7 KeyPress = NewKeyPress(tcell.KeyF7, 0, 0) + var KeyPressF8 KeyPress = NewKeyPress(tcell.KeyF8, 0, 0) + var KeyPressF9 KeyPress = NewKeyPress(tcell.KeyF9, 0, 0) + var KeyPressHome KeyPress = NewKeyPress(tcell.KeyTab, 0, 0) + var KeyPressLeft KeyPress = NewKeyPress(tcell.KeyLeft, 0, 0) + var KeyPressPgDn KeyPress = NewKeyPress(tcell.KeyPgDn, 0, 0) + var KeyPressPgUp KeyPress = NewKeyPress(tcell.KeyPgUp, 0, 0) + var KeyPressRight KeyPress = NewKeyPress(tcell.KeyRight, 0, 0) + var KeyPressTab KeyPress = NewKeyPress(tcell.KeyTab, 0, 0) + var KeyPressUp KeyPress = NewKeyPress(tcell.KeyUp, 0, 0) + var ModMap = map[tcell.ModMask]string + var ModMapReverse = map[string]tcell.ModMask + var SpecialKeyMap = map[tcell.Key]string + var SpecialKeyMapReverse = map[string]tcell.Key + func KeyIn(k *tcell.EventKey, keys []KeyPress) bool + type KeyPress gowid.Key + func Key(ch rune) KeyPress + func KeyCtrl(r rune) KeyPress + func KeyPressFromTcell(k *tcell.EventKey) KeyPress + func NewKeyPress(k tcell.Key, ch rune, mod tcell.ModMask) KeyPress + func NewSimpleKeyPress(ch rune) KeyPress + func (k KeyPress) String() string + type KeySequence []KeyPress + func VimStringToKeys(input string) KeySequence + func (ks KeySequence) String() string