fix single key consume
This commit is contained in:
parent
2cd4fb51d2
commit
f67ada9a05
@ -78,7 +78,7 @@ class fenrir():
|
|||||||
shortcut = self.environment['runtime']['inputManager'].getCurrShortcut()
|
shortcut = self.environment['runtime']['inputManager'].getCurrShortcut()
|
||||||
#print(shortcut)
|
#print(shortcut)
|
||||||
command = self.environment['runtime']['inputManager'].getCommandForShortcut(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 != ''
|
self.wasCommand = command != ''
|
||||||
if command == '':
|
if command == '':
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user