Don’t put the cursor at the top-left if a move() failed.

This commit is contained in:
Emmanuel Gil Peyrot 2016-10-02 16:14:52 +01:00
parent 8aec9f9dac
commit c5e80b9688

View file

@ -84,7 +84,7 @@ class Win(object):
try:
self._win.move(y, x)
except:
self._win.move(0, 0)
pass
def addstr_colored(self, text, y=None, x=None):
"""