This commit is contained in:
Christian Muehlhaeuser 2021-03-12 01:20:16 +01:00
parent 231fa2cb73
commit b664dee939
1 changed files with 1 additions and 1 deletions

2
key.go
View File

@ -349,7 +349,7 @@ func readInput(input io.Reader) (Msg, error) {
} }
if len(runes) == 0 { if len(runes) == 0 {
return nil, errors.New("receied 0 runes from input") return nil, errors.New("received 0 runes from input")
} else if len(runes) > 1 { } else if len(runes) > 1 {
// We received multiple runes, so we know this isn't a control // We received multiple runes, so we know this isn't a control
// character, sequence, and so on. // character, sequence, and so on.