Make sure to flush keys before commands. - sam - An updated version of the sam … | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 653513dc73b32dde0e8a08f2fb49d59e2415aabf | |
parent b14061dceb79f18558f125367ccdb9f86139581f | |
Author: Rob King <[email protected]> | |
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(-) | |
--- | |
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'… | |
} | |
if (k.k == Kcommand){ | |
+ flushtyping(0); | |
if (k.c < 0 || k.c >= Cmax || commands[k.c].f == NULL) | |
panic("command table miss"); | |