1
0
forked from aniani/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)
This commit is contained in:
Bram Moolenaar
2020-02-03 21:29:30 +01:00
parent 4e12a5df37
commit e7ddf4e337
2 changed files with 6 additions and 0 deletions

View File

@@ -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");
/*

View File

@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
202,
/**/
201,
/**/