summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index 44c967ca..1da52b21 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1366,12 +1366,12 @@ class Core(object):
Read 2 more chars and go to the tab
with the given number
"""
- char = self.read_keyboard()
+ char = self.read_keyboard()[0]
try:
nb1 = int(char)
except ValueError:
return
- char = self.read_keyboard()
+ char = self.read_keyboard()[0]
try:
nb2 = int(char)
except ValueError: