diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-02-01 22:31:49 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-02-01 22:31:49 +0100 |
commit | e5f2a075e35aa903e8d5a63bef1a438344bba5fb (patch) | |
tree | 99b378a6b557e780f7b11e4fa78a1c8c687df8c6 /src/misc1.c | |
parent | a2f28859bfb3fa52bde14c9d2ca3ab7196a9154a (diff) | |
download | vim-git-e5f2a075e35aa903e8d5a63bef1a438344bba5fb.tar.gz |
patch 8.0.0293: some tests have a one or three second waitv8.0.0293
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.
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c index f95c3fe47..2a2d9cf64 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -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 */ |