Blame SOURCES/screen-altscreen.patch

d4093c
diff --git a/src/ansi.c b/src/ansi.c
d4093c
index d88e153..8df79b2 100644
d4093c
--- a/src/ansi.c
d4093c
+++ b/src/ansi.c
d4093c
@@ -1438,8 +1438,8 @@ int c, intermediate;
d4093c
 		    }
d4093c
 		  else
d4093c
 		    {
d4093c
-		      LeaveAltScreen(curr);
d4093c
 		      RestoreCursor(&curr->w_alt.cursor);
d4093c
+		      LeaveAltScreen(curr);
d4093c
 		    }
d4093c
 		  if (a1 == 47 && !i)
d4093c
 		    curr->w_saved.on = 0;