changeset 19287:5f2cb68f7cb8 v8.2.0202

patch 8.2.0202: when 'lazyredraw' is set the window title may not be updated Commit: https://github.com/vim/vim/commit/e7ddf4e3372fad375038ad8771c6d1a7df49c34c Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 3 21:29:30 2020 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Mon, 03 Feb 2020 21:30:04 +0100
parents 13a226654610
children f061872089a9
files src/main.c src/version.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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");
 
     /*
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    202,
+/**/
     201,
 /**/
     200,