1
0
forked from aniani/vim

patch 8.2.1919: assert_fails() setting emsg_silent changes normal execution

Problem:    Assert_fails() setting emsg_silent changes normal execution.
Solution:   Use a separate flag in_assert_fails.
This commit is contained in:
Bram Moolenaar
2020-10-28 20:20:00 +01:00
parent 3e2534ed1a
commit 28ee892ac4
19 changed files with 44 additions and 36 deletions

View File

@@ -1800,7 +1800,7 @@ report_default_term(char_u *term)
mch_errmsg(_("defaulting to '"));
mch_errmsg((char *)term);
mch_errmsg("'\r\n");
if (emsg_silent == 0)
if (emsg_silent == 0 && !in_assert_fails)
{
screen_start(); // don't know where cursor is now
out_flush();