Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
14908:2c102d67a1f0 | 14909:c97b4b537572 |
---|---|
2106 PASTE_CMDLINE, /* command line */ | 2106 PASTE_CMDLINE, /* command line */ |
2107 PASTE_EX, /* ex mode line */ | 2107 PASTE_EX, /* ex mode line */ |
2108 PASTE_ONE_CHAR /* return first character */ | 2108 PASTE_ONE_CHAR /* return first character */ |
2109 } paste_mode_T; | 2109 } paste_mode_T; |
2110 | 2110 |
2111 // Argument for flush_buffers(). | |
2112 typedef enum { | |
2113 FLUSH_MINIMAL, | |
2114 FLUSH_TYPEAHEAD, // flush current typebuf contents | |
2115 FLUSH_INPUT // flush typebuf and inchar() input | |
2116 } flush_buffers_T; | |
2117 | |
2111 #include "ex_cmds.h" /* Ex command defines */ | 2118 #include "ex_cmds.h" /* Ex command defines */ |
2112 #include "spell.h" /* spell checking stuff */ | 2119 #include "spell.h" /* spell checking stuff */ |
2113 | 2120 |
2114 #include "proto.h" /* function prototypes */ | 2121 #include "proto.h" /* function prototypes */ |
2115 | 2122 |