forked from aniani/vim
patch 8.0.0293: some tests have a one or three second wait
Problem: Some tests have a one or three second wait. Solution: Reset the 'showmode' option. Use a test time of one to disable sleep after an error or warning message.
This commit is contained in:
@@ -3264,7 +3264,11 @@ change_warning(
|
||||
#endif
|
||||
msg_clr_eos();
|
||||
(void)msg_end();
|
||||
if (msg_silent == 0 && !silent_mode)
|
||||
if (msg_silent == 0 && !silent_mode
|
||||
#ifdef FEAT_EVAL
|
||||
&& time_for_testing != 1
|
||||
#endif
|
||||
)
|
||||
{
|
||||
out_flush();
|
||||
ui_delay(1000L, TRUE); /* give the user time to think about it */
|
||||
|
Reference in New Issue
Block a user