Don’t put the cursor at the top-left if a move() failed.
This commit is contained in:
parent
8aec9f9dac
commit
c5e80b9688
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue