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.
This commit is contained in:
Justin M. Keyes
2018-09-10 09:47:04 +02:00
parent 931e15471c
commit 31c3d54668
4 changed files with 2 additions and 19 deletions

View File

@@ -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);
}