summaryrefslogtreecommitdiffstats
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-10-07 23:16:36 +0200
committerBram Moolenaar <Bram@vim.org>2018-10-07 23:16:36 +0200
commit6a2633b00bb00bcf0d994f08d1c54ace2c221b58 (patch)
treea319f2692684a8f44d912d84029286889ba8b83e /src/misc1.c
parent95ba5c364f097121b95879896b05ec737ecafd1c (diff)
patch 8.1.0466: autocmd test failsv8.1.0466
Problem: Autocmd test fails. Solution: Do call inchar() when flushing typeahead.
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 34b4134a04..820f8f994f 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -3825,7 +3825,7 @@ beep_flush(void)
{
if (emsg_silent == 0)
{
- flush_buffers(FALSE);
+ flush_buffers(FLUSH_MINIMAL);
vim_beep(BO_ERROR);
}
}