Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Mar 12, 2021
1 parent 231fa2c commit f247287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion key.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ func readInput(input io.Reader) (Msg, error) {
}

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 {
// We received multiple runes, so we know this isn't a control
// character, sequence, and so on.
Expand Down

0 comments on commit f247287

Please sign in to comment.