forked from Mirrors/bubbletea
Fix typo
This commit is contained in:
parent
231fa2cb73
commit
b664dee939
2
key.go
2
key.go
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue