0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -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

@@ -1138,7 +1138,7 @@ wait_return(int redraw)
FILE *save_scriptout;
if (redraw == TRUE)
must_redraw = CLEAR;
must_redraw = UPD_CLEAR;
// If using ":silent cmd", don't wait for a return. Also don't set
// need_wait_return to do it later.
@@ -1362,7 +1362,7 @@ wait_return(int redraw)
&& (redraw == TRUE || (msg_scrolled != 0 && redraw != -1)))
{
starttermcap(); // start termcap before redrawing
redraw_later(VALID);
redraw_later(UPD_VALID);
}
}
@@ -2485,8 +2485,8 @@ inc_msg_scrolled(void)
}
#endif
++msg_scrolled;
if (must_redraw < VALID)
must_redraw = VALID;
if (must_redraw < UPD_VALID)
must_redraw = UPD_VALID;
}
/*