Fix a bug where shift+tab would make inputs wig out

This commit is contained in:
Christian Rocha 2020-02-17 19:58:32 -05:00
parent 82af5a5cb5
commit 73d773109f
No known key found for this signature in database
GPG Key ID: D6CC7A16E5878018
1 changed files with 1 additions and 1 deletions

2
key.go
View File

@ -198,7 +198,7 @@ func ReadKey(r io.Reader) (Key, error) {
} }
// Is it a control character? // Is it a control character?
if n == 1 && c <= keyUS || c == keyDEL { if /*n == 1 &&*/ c <= keyUS || c == keyDEL {
return Key{Type: KeyType(c)}, nil return Key{Type: KeyType(c)}, nil
} }