mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
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:
@@ -115,7 +115,7 @@ changed(void)
|
||||
// Wait two seconds, to make sure the user reads this unexpected
|
||||
// message. Since we could be anywhere, call wait_return() now,
|
||||
// and don't let the emsg() set msg_scroll.
|
||||
if (need_wait_return && emsg_silent == 0)
|
||||
if (need_wait_return && emsg_silent == 0 && !in_assert_fails)
|
||||
{
|
||||
out_flush();
|
||||
ui_delay(2002L, TRUE);
|
||||
|
Reference in New Issue
Block a user