aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-10-08 21:12:20 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-10-08 21:14:07 -0400
commitf181efdeaf07a788203b60a2df915118eeb6f0fc (patch)
tree7c27931728dedf33b7f733175e6c1015d848361c /src/nvim/misc1.c
parent573567aef6c62728378394af9767ecf65622ea42 (diff)
downloadrneovim-f181efdeaf07a788203b60a2df915118eeb6f0fc.tar.gz
rneovim-f181efdeaf07a788203b60a2df915118eeb6f0fc.tar.bz2
rneovim-f181efdeaf07a788203b60a2df915118eeb6f0fc.zip
vim-patch:8.1.0466: autocmd test fails
Problem: Autocmd test fails. Solution: Do call inchar() when flushing typeahead. https://github.com/vim/vim/commit/6a2633b00bb00bcf0d994f08d1c54ace2c221b58
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 2e7fe4d7a9..7e9d68a4b4 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -2548,7 +2548,7 @@ void msgmore(long n)
void beep_flush(void)
{
if (emsg_silent == 0) {
- flush_buffers(false);
+ flush_buffers(FLUSH_MINIMAL);
vim_beep(BO_ERROR);
}
}