diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-02-03 21:29:30 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-02-03 21:29:30 +0100 |
commit | e7ddf4e3372fad375038ad8771c6d1a7df49c34c (patch) | |
tree | 9e786e55971d90a4d3335f91b4285c0e956c23eb /src/main.c | |
parent | 4e12a5df37ed4a47ca94a8b9393c768e8ca1f75a (diff) | |
download | vim-git-e7ddf4e3372fad375038ad8771c6d1a7df49c34c.tar.gz |
patch 8.2.0202: when 'lazyredraw' is set the window title may not be updatedv8.2.0202
Problem: When 'lazyredraw' is set the window title may not be updated.
Solution: Set "do_redraw" before entering the main loop. (Jason Franklin)
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
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"); /* |