summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ansi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ansi.c b/src/ansi.c
index 027e3b8..6dfdd50 100644
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -1331,8 +1331,8 @@ DoCSI(int c, int intermediate)
else
{
if (curr->w_alt.on) {
- LeaveAltScreen(curr);
RestoreCursor(&curr->w_alt.cursor);
+ LeaveAltScreen(curr);
}
}
if (a1 == 47 && !i)