aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/terminal.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-23 22:00:19 +0800
committerGitHub <noreply@github.com>2022-08-23 22:00:19 +0800
commit6cc6e11929ad76a2dc5204aed95cb9ed1dafde23 (patch)
treeba76d33bfbf687d0d64038910218e37d0efd9edc /src/nvim/terminal.c
parent779a25f040704e4f1b56abedc901ec4f9829bb27 (diff)
downloadrneovim-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/terminal.c')
-rw-r--r--src/nvim/terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c
index 08fcefaa88..1b4ac12aa6 100644
--- a/src/nvim/terminal.c
+++ b/src/nvim/terminal.c
@@ -1375,7 +1375,7 @@ static bool send_mouse_event(Terminal *term, int c)
curwin->w_redr_status = true;
curwin = save_curwin;
curbuf = curwin->w_buffer;
- redraw_later(mouse_win, NOT_VALID);
+ redraw_later(mouse_win, UPD_NOT_VALID);
invalidate_terminal(term, -1, -1);
// Only need to exit focus if the scrolled window is the terminal window
return mouse_win == curwin;