commit | 6a2633b00bb00bcf0d994f08d1c54ace2c221b58 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Oct 07 23:16:36 2018 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Oct 07 23:16:36 2018 +0200 |
tree | a319f2692684a8f44d912d84029286889ba8b83e | |
parent | 95ba5c364f097121b95879896b05ec737ecafd1c [diff] [blame] |
patch 8.1.0466: autocmd test fails Problem: Autocmd test fails. Solution: Do call inchar() when flushing typeahead.
diff --git a/src/memline.c b/src/memline.c index f7a3d06..0881e6c 100644 --- a/src/memline.c +++ b/src/memline.c
@@ -4522,7 +4522,7 @@ // 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)