Problem: Window cleared when entering Terminal-Normal twice. (Epheien)
Solution: Don't cleanup scrollback when there is no postponed scrollback.
(Christian Brabandt, closes #4126)
{
int i;
-ch_log(NULL, "Moving postponed scrollback to scrollback");
+ if (term->tl_scrollback_postponed.ga_len == 0)
+ return;
+ ch_log(NULL, "Moving postponed scrollback to scrollback");
+
// First remove the lines that were appended before, the pushed lines go
// above it.
cleanup_scrollback(term);
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1018,
/**/
1017,
/**/