aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-08-20 16:01:43 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-08-24 11:10:00 +0200
commitc0e86f811b3a8e4f45768db86e97d1b0fda5616f (patch)
tree0dfc6da2764d6999256338e86180765b53abc633 /vis-core.h
parentc7df560b818224d9a9ca3b0ba31a54312dc7062b (diff)
downloadvis-c0e86f811b3a8e4f45768db86e97d1b0fda5616f.tar.gz
vis-c0e86f811b3a8e4f45768db86e97d1b0fda5616f.tar.xz
vis: overhaul input queue handling
Let vis_keys_feed always have an immediate effect. Previously, if called from a key input handler the keys would just be added to the input queue and processed once the current key handler returned. This also affects the exposed Lua API.
Diffstat (limited to 'vis-core.h')
-rw-r--r--vis-core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/vis-core.h b/vis-core.h
index 9e3c4f1..1c6c446 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -163,7 +163,6 @@ 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 */
bool errorhandler; /* whether we are currently in an error handler, used to avoid recursion */
Action action; /* current action which is in progress */
Action action_prev; /* last operator action used by the repeat (dot) command */