vim-patch:8.1.0466: autocmd test fails

Problem:    Autocmd test fails.
Solution:   Do call inchar() when flushing typeahead.
6a2633b00b
This commit is contained in:
Jan Edmund Lazo
2018-10-08 21:12:20 -04:00
parent 573567aef6
commit f181efdeaf
5 changed files with 31 additions and 20 deletions

View File

@@ -552,7 +552,7 @@ int emsg(const char_u *s_)
if (p_eb) {
beep_flush(); // also includes flush_buffers()
} else {
flush_buffers(false); // flush internal buffers
flush_buffers(FLUSH_MINIMAL); // flush internal buffers
}
did_emsg = true; // flag for DoOneCmd()
}