From c0e86f811b3a8e4f45768db86e97d1b0fda5616f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 20 Aug 2016 16:01:43 +0200 Subject: 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. --- vis-core.h | 1 - 1 file changed, 1 deletion(-) (limited to 'vis-core.h') 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 */ -- cgit v1.2.3