diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-08-20 16:01:43 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-08-24 11:10:00 +0200 |
| commit | c0e86f811b3a8e4f45768db86e97d1b0fda5616f (patch) | |
| tree | 0dfc6da2764d6999256338e86180765b53abc633 /vis-core.h | |
| parent | c7df560b818224d9a9ca3b0ba31a54312dc7062b (diff) | |
| download | vis-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.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 */ |
