aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.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/ex_docmd.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/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index 6586d82fae..f7bfeebe0a 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -6342,9 +6342,7 @@ static void ex_hide(exarg_T *eap)
}
}
-/*
- * ":stop" and ":suspend": Suspend Vim.
- */
+/// ":stop" and ":suspend": Suspend Vim.
static void ex_stop(exarg_T *eap)
{
// Disallow suspending in restricted mode (-Z)
@@ -6363,7 +6361,6 @@ static void ex_stop(exarg_T *eap)
ui_flush();
maketitle();
resettitle(); // force updating the title
- redraw_later_clear();
ui_refresh(); // may have resized window
apply_autocmds(EVENT_VIMRESUME, NULL, NULL, false, NULL);
}