This commit is contained in:
chrys
2018-03-27 00:40:15 +02:00
parent 7182bc6556
commit 93f0551131
2 changed files with 2 additions and 4 deletions

View File

@ -109,8 +109,6 @@ class fenrirManager():
self.environment['runtime']['screenManager'].injectTextToScreen(event['Data'])
def handleControlMode(self, escapeSequence):
convertedEscapeSequence = self.environment['runtime']['byteManager'].unifyEscapeSeq(escapeSequence)
if len(convertedEscapeSequence) > 1:
print(chr(convertedEscapeSequence[0]),chr(convertedEscapeSequence[1]))
if convertedEscapeSequence == b'^[R':
self.controlMode = not self.controlMode
self.switchCtrlModeOnce = 0