aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os_unix.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-09-10 09:47:04 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-09-12 08:30:26 +0200
commit31c3d5466832a19029b9815c53eacc3c726ff569 (patch)
tree774bf6c40b9a6ec50baaadab25a1cf1090d7b05d /src/nvim/os_unix.c
parent931e15471c10857af73aa0f0caa3aaaefe5986be (diff)
downloadrneovim-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/os_unix.c')
-rw-r--r--src/nvim/os_unix.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c
index e52adfa1a9..bd8a13e6c8 100644
--- a/src/nvim/os_unix.c
+++ b/src/nvim/os_unix.c
@@ -419,7 +419,6 @@ int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file,
xfree(tempname);
// With interactive completion, the error message is not printed.
if (!(flags & EW_SILENT)) {
- redraw_later_clear(); // probably messed up screen
msg_putchar('\n'); // clear bottom line quickly
#if SIZEOF_LONG > SIZEOF_INT
assert(Rows <= (long)INT_MAX + 1);