# HG changeset patch # User Bram Moolenaar # Date 1580761804 -3600 # Node ID 5f2cb68f7cb85e78c97fbb39e8b89ae075eff0ef # Parent 13a226654610a51fefc4353fecc68924b706209e 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 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) diff --git a/src/main.c b/src/main.c --- 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 --- 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,