summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.py')
-rw-r--r--src/gui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui.py b/src/gui.py
index 06627048..0df8be86 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -1172,6 +1172,8 @@ class Gui(object):
sys.exit()
def do_command(self, key):
+ if not key:
+ return
from common import debug
debug('do_command, %s, %s\n' % (key, self.current_tab()))
res = self.current_tab().on_input(key)