diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-09-10 09:47:04 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-09-12 08:30:26 +0200 |
commit | 31c3d5466832a19029b9815c53eacc3c726ff569 (patch) | |
tree | 774bf6c40b9a6ec50baaadab25a1cf1090d7b05d /src/nvim/screen.c | |
parent | 931e15471c10857af73aa0f0caa3aaaefe5986be (diff) | |
download | rneovim-31c3d5466832a19029b9815c53eacc3c726ff569.tar.gz rneovim-31c3d5466832a19029b9815c53eacc3c726ff569.tar.bz2 rneovim-31c3d5466832a19029b9815c53eacc3c726ff569.zip |
UI/cleanup: Remove most redraw_later_clear() calls
Vim :! may "mess up the screen" because of e.g. switching between cooked
mode, but Nvim just uses pipes. So maybe we can avoid these
redraw_later_clear() CYA calls.
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r-- | src/nvim/screen.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 36942a1e78..b4640cd49b 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -158,10 +158,7 @@ void redraw_win_later(win_T *wp, int type) } } -/* - * Force a complete redraw later. Also resets the highlighting. To be used - * after executing a shell command that messes up the screen. - */ +/// Forces a complete redraw later. Also resets the highlighting. void redraw_later_clear(void) { redraw_all_later(CLEAR); |