fix history for PTY

This commit is contained in:
chrys
2018-06-03 19:26:34 +02:00
parent 60f27dd68f
commit 8947c29205
2 changed files with 9 additions and 3 deletions

View File

@ -65,6 +65,8 @@ class byteManager():
self.repeat = 1
self.lastByteKey = convertedEscapeSequence
self.lastInputTime = time.time()
def getLastByteKey(self):
return self.lastByteKey
def handleControlMode(self, escapeSequence):
convertedEscapeSequence = self.unifyEscapeSeq(escapeSequence)
if convertedEscapeSequence == b'^[R':