change correct toggle shortcuts
This commit is contained in:
1 parent
8c601ae7c0
commit
3f1de8c911
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user