change correct toggle shortcuts
This commit is contained in:
parent
3f1de8c911
commit
bba3ed4eb7
@ -90,10 +90,13 @@ class fenrirManager():
|
||||
return
|
||||
if event['Data'] == b'':
|
||||
return
|
||||
|
||||
self.handleControlMode(event['Data'])
|
||||
|
||||
if self.controlMode and not self.switchCtrlModeOnce == 1 or\
|
||||
not self.controlMode and self.switchCtrlModeOnce == 1:
|
||||
self.detectByteCommand(event['Data'])
|
||||
|
||||
def handleControlMode(self, escapeSequence):
|
||||
if self.switchCtrlModeOnce > 0:
|
||||
self.switchCtrlModeOnce -= 1
|
||||
|
Loading…
Reference in New Issue
Block a user