summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-09-12 20:22:12 +0200
committermathieui <mathieui@mathieui.net>2011-09-12 20:22:12 +0200
commitd1bf1dfa53c995008d1f0e0e6dcf9db7fb36747f (patch)
tree10d45fed3d92ebca4c3c3b5c7d9e46f6f7f2e129 /src/windows.py
parent455a2746bccde8c2632f2603df7eb717f87aff3f (diff)
downloadpoezio-d1bf1dfa53c995008d1f0e0e6dcf9db7fb36747f.tar.gz
poezio-d1bf1dfa53c995008d1f0e0e6dcf9db7fb36747f.tar.bz2
poezio-d1bf1dfa53c995008d1f0e0e6dcf9db7fb36747f.tar.xz
poezio-d1bf1dfa53c995008d1f0e0e6dcf9db7fb36747f.zip
Fix the (now rare) tracebacks from curses.
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py
index 4e464a75..e942407f 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -64,7 +64,10 @@ class Win(object):
self._win = curses.newwin(height, width, y, x)
else:
self._win.resize(height, width)
- self._win.mvwin(y, x)
+ try:
+ self._win.mvwin(y, x)
+ except:
+ log.debug('DEBUG: mvwin returned ERR. Please investigate')
def resize(self, height, width, y, x):
"""