From: Bram Moolenaar Date: Mon, 3 Feb 2020 20:29:30 +0000 (+0100) Subject: patch 8.2.0202: when 'lazyredraw' is set the window title may not be updated X-Git-Tag: v8.2.0202 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7ddf4e3372fad375038ad8771c6d1a7df49c34c;p=vim patch 8.2.0202: when 'lazyredraw' is set the window title may not be updated Problem: When 'lazyredraw' is set the window title may not be updated. Solution: Set "do_redraw" before entering the main loop. (Jason Franklin) --- diff --git a/src/main.c b/src/main.c index 68a419eaa..c747aba3d 100644 --- a/src/main.c +++ b/src/main.c @@ -893,6 +893,10 @@ vim_main2(void) } #endif + // Redraw at least once, also when 'lazyredraw' is set, to make sure the + // window title gets updated. + do_redraw = TRUE; + TIME_MSG("before starting main loop"); /* diff --git a/src/version.c b/src/version.c index 01e54a033..884e01a5f 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 202, /**/ 201, /**/