aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-05-01 11:28:16 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-05-01 12:38:31 +0200
commit8b31028096190ce0339e984bf36df5840d868990 (patch)
tree55ae259a65858dd6fe1452a575874d91e8714464 /vis-core.h
parent1724f24a0c8795e461f7acf8ca94ecae145da96b (diff)
downloadvis-8b31028096190ce0339e984bf36df5840d868990.tar.gz
vis-8b31028096190ce0339e984bf36df5840d868990.tar.xz
vis: further cleanup input handling, introduce vis_keys_feed API
Diffstat (limited to 'vis-core.h')
-rw-r--r--vis-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vis-core.h b/vis-core.h
index 606ff9b..08cf87b 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -158,6 +158,7 @@ struct Vis {
Map *keymap; /* key translation before any bindings are matched */
Buffer input_queue; /* holds pending input keys */
Buffer *keys; /* currently active keys buffer (either the input_queue or a macro) */
+ bool keyhandler; /* whether a key handling function is currently being called */
Action action; /* current action which is in progress */
Action action_prev; /* last operator action used by the repeat (dot) command */
Mode *mode; /* currently active mode, used to search for keybindings */