Make sure to flush keys before commands. - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 653513dc73b32dde0e8a08f2fb49d59e2415aabf
(DIR) parent b14061dceb79f18558f125367ccdb9f86139581f
(HTM) Author: Rob King <jking@deadpixi.com>
Date: Wed, 21 Sep 2016 16:41:26 -0500
Make sure to flush keys before commands.
Diffstat:
samterm/main.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/samterm/main.c b/samterm/main.c
@@ -938,6 +938,7 @@ type(Flayer *l) /* what a bloody mess this is -- but it's getting better! */
}
if (k.k == Kcommand){
+ flushtyping(0);
if (k.c < 0 || k.c >= Cmax || commands[k.c].f == NULL)
panic("command table miss");