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
index 68a419e..c747aba 100644
--- a/src/main.c
+++ b/src/main.c
@@ -893,6 +893,10 @@
}
#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");
/*