Mercurial > vim
diff src/message.c @ 29732:89e1d67814a9 v9.0.0206
patch 9.0.0206: redraw flags are not named specifically
Commit: https://github.com/vim/vim/commit/a4d158b3c839e96ed98ff87c7b7124ff4518c4ff
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 14 14:17:45 2022 +0100
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().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Aug 2022 15:30:05 +0200 |
parents | 8a243ecfe2dd |
children | 2d2f36e430f9 |
line wrap: on
line diff
--- a/src/message.c +++ b/src/message.c @@ -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; } /*