change correct toggle shortcuts
This commit is contained in:
parent
109c5d19ef
commit
db9b16dec0
@ -95,10 +95,11 @@ class fenrirManager():
|
||||
not self.controlMode and self.switchCtrlModeOnce == 1:
|
||||
self.detectByteCommand(event['Data'])
|
||||
def handleControlMode(self, escapeSequence):
|
||||
if self.switchCtrlModeOnce > 1:
|
||||
self.switchCtrlModeOnce -= 1
|
||||
if escapeSequence == b'a':
|
||||
if escapeSequence == b'\x1bR':
|
||||
self.controlMode = not self.controlMode
|
||||
if escapeSequence == b'b':
|
||||
if escapeSequence == b'\x1b:':
|
||||
self.switchCtrlModeOnce = 2
|
||||
|
||||
def handleExecuteCommand(self, event):
|
||||
|
Loading…
Reference in New Issue
Block a user