fix single key consume

This commit is contained in:
chrys 2016-09-27 23:41:11 +02:00
parent 2cd4fb51d2
commit f67ada9a05

View File

@ -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