wrap cursor move in try block
@@ -523,6 +523,7 @@ class CiProgram:
if k.shouldShowCursor:
curses.curs_set(1)
if 1:
+ try:
cursesWindow.leaveok(0) # Do update cursor position.
cursesWindow.move(
k.top + k.cursorRow - k.scrollRow,
@@ -530,6 +531,8 @@ class CiProgram:
# Calling refresh will draw the cursor.
cursesWindow.refresh()
cursesWindow.leaveok(1) # Don't update cursor position.
+ except:
+ pass
def makeHomeDirs(self, homePath):
try:
