summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-01-27 21:44:48 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-01-27 21:44:48 +0000
commit5137f86445221f802a78bcc393f5c63f3625422f (patch)
tree8c015922b4d9914cf817f91cea069bd90de19049 /src/gui.py
parent9275ded3338b6f1fa356aaa4ee306dcb1e20b019 (diff)
downloadpoezio-5137f86445221f802a78bcc393f5c63f3625422f.tar.gz
poezio-5137f86445221f802a78bcc393f5c63f3625422f.tar.bz2
poezio-5137f86445221f802a78bcc393f5c63f3625422f.tar.xz
poezio-5137f86445221f802a78bcc393f5c63f3625422f.zip
quelques fixs, genre l'historique et les accents et tout ca
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: