From e7ddf4e3372fad375038ad8771c6d1a7df49c34c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 3 Feb 2020 21:29:30 +0100 Subject: [PATCH] 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) --- src/main.c | 4 ++++ src/version.c | 2 ++ 2 files changed, 6 insertions(+) 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, /**/ -- 2.50.1