From e7ddf4e3372fad375038ad8771c6d1a7df49c34c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 3 Feb 2020 21:29:30 +0100 Subject: 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 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.c') 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"); /* -- cgit v1.2.1