aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-10-09 09:02:26 +0200
committerGitHub <noreply@github.com>2018-10-09 09:02:26 +0200
commit85e8fd96f4e04184cf22b691ea2229de901f4e4c (patch)
tree7c27931728dedf33b7f733175e6c1015d848361c /src/nvim/getchar.h
parent05cbe0da30fa9455da7d2663e6c5b57876e55fd1 (diff)
parentf181efdeaf07a788203b60a2df915118eeb6f0fc (diff)
downloadrneovim-85e8fd96f4e04184cf22b691ea2229de901f4e4c.tar.gz
rneovim-85e8fd96f4e04184cf22b691ea2229de901f4e4c.tar.bz2
rneovim-85e8fd96f4e04184cf22b691ea2229de901f4e4c.zip
Merge #9098 'vim-patch:8.1.{459,463,466}'
Diffstat (limited to 'src/nvim/getchar.h')
-rw-r--r--src/nvim/getchar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/getchar.h b/src/nvim/getchar.h
index 38a2e75663..4f548d975a 100644
--- a/src/nvim/getchar.h
+++ b/src/nvim/getchar.h
@@ -16,6 +16,13 @@ enum {
REMAP_SKIP = -3, ///< No remapping for first char.
} RemapValues;
+// Argument for flush_buffers().
+typedef enum {
+ FLUSH_MINIMAL,
+ FLUSH_TYPEAHEAD, // flush current typebuf contents
+ FLUSH_INPUT // flush typebuf and inchar() input
+} flush_buffers_T;
+
#define KEYLEN_PART_KEY -1 /* keylen value for incomplete key-code */
#define KEYLEN_PART_MAP -2 /* keylen value for incomplete mapping */
#define KEYLEN_REMOVED 9999 /* keylen value for removed sequence */