summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-02 16:14:52 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-02 16:14:52 +0100
commitc5e80b968862b4fe54d394ed278466f3eb02dd41 (patch)
treeede85aa5a66575f4735ced582d4f6fa7c75c7a79
parent8aec9f9dacc38a432cabfc904ba046a38e37e4bf (diff)
downloadpoezio-c5e80b968862b4fe54d394ed278466f3eb02dd41.tar.gz
poezio-c5e80b968862b4fe54d394ed278466f3eb02dd41.tar.bz2
poezio-c5e80b968862b4fe54d394ed278466f3eb02dd41.tar.xz
poezio-c5e80b968862b4fe54d394ed278466f3eb02dd41.zip
Don’t put the cursor at the top-left if a move() failed.
-rw-r--r--poezio/windows/base_wins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/windows/base_wins.py b/poezio/windows/base_wins.py
index fe24ba65..a9229d32 100644
--- a/poezio/windows/base_wins.py
+++ b/poezio/windows/base_wins.py
@@ -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):
"""