From f67ada9a0528c38ff3d3f16832338b990bd2f22b Mon Sep 17 00:00:00 2001 From: chrys Date: Tue, 27 Sep 2016 23:41:11 +0200 Subject: [PATCH] fix single key consume --- src/fenrir-package/fenrir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir-package/fenrir.py b/src/fenrir-package/fenrir.py index 1c318241..49b09b89 100755 --- a/src/fenrir-package/fenrir.py +++ b/src/fenrir-package/fenrir.py @@ -78,7 +78,7 @@ class fenrir(): shortcut = self.environment['runtime']['inputManager'].getCurrShortcut() #print(shortcut) command = self.environment['runtime']['inputManager'].getCommandForShortcut(shortcut) - if len(self.environment['input']['prevDeepestInput']) < len(self.environment['input']['currInput']): + if len(self.environment['input']['prevDeepestInput']) <= len(self.environment['input']['currInput']): self.wasCommand = command != '' if command == '': return