diff src/vim.h @ 14909:c97b4b537572 v8.1.0466

patch 8.1.0466: autocmd test fails commit https://github.com/vim/vim/commit/6a2633b00bb00bcf0d994f08d1c54ace2c221b58 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 7 23:16:36 2018 +0200 patch 8.1.0466: autocmd test fails Problem: Autocmd test fails. Solution: Do call inchar() when flushing typeahead.
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 Oct 2018 23:30:06 +0200
parents 11978f68a8c3
children 6e4e0d43b20b
line wrap: on
line diff
--- a/src/vim.h
+++ b/src/vim.h
@@ -2108,6 +2108,13 @@ typedef enum {
     PASTE_ONE_CHAR	/* return first character */
 } paste_mode_T;
 
+// Argument for flush_buffers().
+typedef enum {
+    FLUSH_MINIMAL,
+    FLUSH_TYPEAHEAD,	// flush current typebuf contents
+    FLUSH_INPUT		// flush typebuf and inchar() input
+} flush_buffers_T;
+
 #include "ex_cmds.h"	    /* Ex command defines */
 #include "spell.h"	    /* spell checking stuff */