diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-23 22:00:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 22:00:19 +0800 |
commit | 6cc6e11929ad76a2dc5204aed95cb9ed1dafde23 (patch) | |
tree | ba76d33bfbf687d0d64038910218e37d0efd9edc /src/nvim/main.c | |
parent | 779a25f040704e4f1b56abedc901ec4f9829bb27 (diff) | |
download | rneovim-6cc6e11929ad76a2dc5204aed95cb9ed1dafde23.tar.gz rneovim-6cc6e11929ad76a2dc5204aed95cb9ed1dafde23.tar.bz2 rneovim-6cc6e11929ad76a2dc5204aed95cb9ed1dafde23.zip |
vim-patch:9.0.0206: redraw flags are not named specifically (#19913)
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
https://github.com/vim/vim/commit/a4d158b3c839e96ed98ff87c7b7124ff4518c4ff
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 3cd0a96116..e4e30b7902 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -479,7 +479,7 @@ int main(int argc, char **argv) if (exmode_active || use_remote_ui || use_builtin_ui) { // Don't clear the screen when starting in Ex mode, or when a UI might have // displayed messages. - redraw_later(curwin, VALID); + redraw_later(curwin, UPD_VALID); } else { screenclear(); // clear screen TIME_MSG("clearing screen"); @@ -539,7 +539,7 @@ int main(int argc, char **argv) starting = 0; RedrawingDisabled = 0; - redraw_all_later(NOT_VALID); + redraw_all_later(UPD_NOT_VALID); no_wait_return = false; // 'autochdir' has been postponed. |