summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-03 21:29:30 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-03 21:29:30 +0100
commite7ddf4e3372fad375038ad8771c6d1a7df49c34c (patch)
tree9e786e55971d90a4d3335f91b4285c0e956c23eb
parent4e12a5df37ed4a47ca94a8b9393c768e8ca1f75a (diff)
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)
-rw-r--r--src/main.c4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 68a419eaa6..c747aba3d1 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 01e54a0334..884e01a5f4 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,