aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-29 20:22:15 +0800
committerGitHub <noreply@github.com>2022-08-29 20:22:15 +0800
commit92bc11a891538e5c306915bffef437f097572d09 (patch)
tree987a8475f52cbc7a08a4c6beb4b21f939caaafbf /src/nvim/ex_getln.c
parente6af1cf250cb3a5e4434011333ee6de6e91a55ea (diff)
downloadrneovim-92bc11a891538e5c306915bffef437f097572d09.tar.gz
rneovim-92bc11a891538e5c306915bffef437f097572d09.tar.bz2
rneovim-92bc11a891538e5c306915bffef437f097572d09.zip
vim-patch:9.0.0316: screen flickers when 'cmdheight' is zero (#19991)
Problem: Screen flickers when 'cmdheight' is zero. Solution: Redraw over existing text instead of clearing. https://github.com/vim/vim/commit/f73e5ba56f4aca1cd6e38f1c8ea24e941bf6b33f
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 3d991996d6..0cca4b69e8 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -918,7 +918,7 @@ theend:
// Restore cmdheight
set_option_value("ch", 0L, NULL, 0);
// Redraw is needed for command line completion
- redraw_all_later(UPD_CLEAR);
+ redraw_all_later(UPD_NOT_VALID);
made_cmdheight_nonzero = false;
}