summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.py')
-rw-r--r--src/gui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui.py b/src/gui.py
index b8c7b3f6..0a738577 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -145,10 +145,10 @@ class Gui(object):
while 1:
curses.doupdate()
key = stdscr.getkey()
- if key == curses.KEY_RESIZE:
- self.window.resize(stdscr)
- elif str(key) in self.key_func.keys():
+ if str(key) in self.key_func.keys():
self.key_func[key]()
+ elif len(key) >= 4:
+ continue
elif ord(key) == 10:
self.execute()
else: