0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.0206: redraw flags are not named specifically

Problem:    Redraw flags are not named specifically.
Solution:   Prefix "UPD_" to the flags, for UPDate_screen().
This commit is contained in:
Bram Moolenaar
2022-08-14 14:17:45 +01:00
parent 28c9f89571
commit a4d158b3c8
64 changed files with 382 additions and 378 deletions

View File

@@ -686,7 +686,7 @@ vim_main2(void)
&& !gui.in_use
#endif
)
must_redraw = CLEAR;
must_redraw = UPD_CLEAR;
else
{
screenclear(); // clear screen
@@ -788,7 +788,7 @@ vim_main2(void)
#endif
RedrawingDisabled = 0;
redraw_all_later(NOT_VALID);
redraw_all_later(UPD_NOT_VALID);
no_wait_return = FALSE;
// 'autochdir' has been postponed
@@ -1412,7 +1412,7 @@ main_loop(
validate_cursor();
if (VIsual_active)
update_curbuf(INVERTED); // update inverted part
update_curbuf(UPD_INVERTED); // update inverted part
else if (must_redraw)
{
mch_disable_flush(); // Stop issuing gui_mch_flush().