diff --git a/src/terminal.c b/src/terminal.c index 8d05a188e1..6b167792fa 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -2952,7 +2952,10 @@ handle_postponed_scrollback(term_T *term) { 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); diff --git a/src/version.c b/src/version.c index a49f6fb0c6..18daa0696a 100644 --- a/src/version.c +++ b/src/version.c @@ -779,6 +779,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1018, /**/ 1017, /**/