Fix the (now rare) tracebacks from curses.
This commit is contained in:
parent
455a2746bc
commit
d1bf1dfa53
1 changed files with 4 additions and 1 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue