mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 01:38:16 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user