From b664dee9399a54d6dacdfe97b3a4b34987fe02c3 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 12 Mar 2021 01:20:16 +0100 Subject: [PATCH] Fix typo --- key.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/key.go b/key.go index e7da992..90e33cd 100644 --- a/key.go +++ b/key.go @@ -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.