0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.0466: autocmd test fails

Problem:    Autocmd test fails.
Solution:   Do call inchar() when flushing typeahead.
This commit is contained in:
Bram Moolenaar
2018-10-07 23:16:36 +02:00
parent 95ba5c364f
commit 6a2633b00b
7 changed files with 34 additions and 22 deletions

View File

@@ -4522,7 +4522,7 @@ findswapname(
// If vimrc has "simalt ~x" we don't want it to
// interfere with the prompt here.
flush_buffers(TRUE);
flush_buffers(FLUSH_TYPEAHEAD);
}
#if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)