summaryrefslogtreecommitdiff
path: root/src/keyboard.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.py')
-rw-r--r--src/keyboard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.py b/src/keyboard.py
index b27ed5f5..2f27968e 100644
--- a/src/keyboard.py
+++ b/src/keyboard.py
@@ -31,7 +31,7 @@ def get_next_byte(s):
try:
c = s.getkey()
except:
- return "KEY_RESIZE"
+ return (None, "KEY_RESIZE")
if len(c) > 4:
return (None, c)
return (ord(c), c)