mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.0318: clearing screen causes flicker
Problem: Clearing screen causes flicker. Solution: Do not clear but redraw in more cases. Add () to "wait_return".
This commit is contained in:
@@ -1151,7 +1151,8 @@ do_filter(
|
||||
#if defined(FEAT_EVAL)
|
||||
if (!aborting())
|
||||
#endif
|
||||
(void)semsg(_(e_cant_create_file_str), itmp); // will call wait_return
|
||||
// will call wait_return()
|
||||
(void)semsg(_(e_cant_create_file_str), itmp);
|
||||
goto filterend;
|
||||
}
|
||||
if (curbuf != old_curbuf)
|
||||
@@ -4331,7 +4332,7 @@ ex_substitute(exarg_T *eap)
|
||||
// needed
|
||||
msg_no_more = TRUE;
|
||||
// write message same highlighting as for
|
||||
// wait_return
|
||||
// wait_return()
|
||||
smsg_attr(HL_ATTR(HLF_R),
|
||||
_("replace with %s (y/n/a/q/l/^E/^Y)?"), sub);
|
||||
msg_no_more = FALSE;
|
||||
|
Reference in New Issue
Block a user