From 4f2d85494d5cd0b8449dd8ece36e80a717e4a066 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Fri, 30 Oct 2020 23:37:33 -0400 Subject: [PATCH] Remove the excessive Key.IsRune() method --- key.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/key.go b/key.go index 8865d3c..d07a270 100644 --- a/key.go +++ b/key.go @@ -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