diff options
author | mathieui <mathieui@mathieui.net> | 2011-09-12 20:22:12 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2011-09-12 20:22:12 +0200 |
commit | d1bf1dfa53c995008d1f0e0e6dcf9db7fb36747f (patch) | |
tree | 10d45fed3d92ebca4c3c3b5c7d9e46f6f7f2e129 | |
parent | 455a2746bccde8c2632f2603df7eb717f87aff3f (diff) | |
download | poezio-d1bf1dfa53c995008d1f0e0e6dcf9db7fb36747f.tar.gz poezio-d1bf1dfa53c995008d1f0e0e6dcf9db7fb36747f.tar.bz2 poezio-d1bf1dfa53c995008d1f0e0e6dcf9db7fb36747f.tar.xz poezio-d1bf1dfa53c995008d1f0e0e6dcf9db7fb36747f.zip |
Fix the (now rare) tracebacks from curses.
-rw-r--r-- | src/windows.py | 5 |
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): """ |