cleanup
This commit is contained in:
parent
7da7e1e1ad
commit
9e27ec9295
@ -163,11 +163,8 @@ class fenrirManager():
|
|||||||
|
|
||||||
def detectByteCommand(self, escapeSequence):
|
def detectByteCommand(self, escapeSequence):
|
||||||
convertedEscapeSequence = self.environment['runtime']['byteManager'].unifyEscapeSeq(escapeSequence)
|
convertedEscapeSequence = self.environment['runtime']['byteManager'].unifyEscapeSeq(escapeSequence)
|
||||||
try:
|
command = self.environment['runtime']['inputManager'].getCommandForShortcut(convertedEscapeSequence)
|
||||||
command = self.environment['runtime']['inputManager'].getCommandForShortcut(convertedEscapeSequence)
|
self.environment['runtime']['eventManager'].putToEventQueue(fenrirEventType.ExecuteCommand, command)
|
||||||
self.environment['runtime']['eventManager'].putToEventQueue(fenrirEventType.ExecuteCommand, command)
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
if self.command != '':
|
if self.command != '':
|
||||||
self.command = ''
|
self.command = ''
|
||||||
def detectCommand(self):
|
def detectCommand(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user