Remove the excessive Key.IsRune() method

This commit is contained in:
Christian Rocha 2020-10-30 23:37:33 -04:00 committed by Christian Rocha
parent fc37167e16
commit 4f2d85494d
1 changed files with 0 additions and 5 deletions

5
key.go
View File

@ -61,11 +61,6 @@ func (k *KeyMsg) String() (str string) {
return ""
}
// IsRune returns whether or not the key is a rune.
func (k *KeyMsg) IsRune() bool {
return k.Type == KeyRunes
}
// Key contains information about a keypress.
type Key struct {
Type KeyType