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