]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/screen-4.2.1-altscreen.patch
Merge remote-tracking branch 'amarx/collectd4' into next
[ipfire-2.x.git] / src / patches / screen-4.2.1-altscreen.patch
1 diff --git a/src/ansi.c b/src/ansi.c
2 index e76eef4..bbdc119 100644
3 --- a/ansi.c
4 +++ b/ansi.c
5 @@ -1444,8 +1444,8 @@ int c, intermediate;
6 else
7 {
8 if (curr->w_alt.on) {
9 - LeaveAltScreen(curr);
10 - RestoreCursor(&curr->w_alt.cursor);
11 + RestoreCursor(&curr->w_alt.cursor);
12 + LeaveAltScreen(curr);
13 }
14 }
15 if (a1 == 47 && !i)
16