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 | |
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')
-rw-r--r-- | src/main.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 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"); /* diff --git a/src/version.c b/src/version.c index 01e54a033..884e01a5f 100644 --- 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, |