From 73d773109f6c893433da509dd1d24b830cd3e044 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Mon, 17 Feb 2020 19:58:32 -0500 Subject: [PATCH] Fix a bug where shift+tab would make inputs wig out --- key.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/key.go b/key.go index eeb8eff..25310a5 100644 --- a/key.go +++ b/key.go @@ -198,7 +198,7 @@ func ReadKey(r io.Reader) (Key, error) { } // 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 }