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:
|
not self.controlMode and self.switchCtrlModeOnce == 1:
|
||||||
self.detectByteCommand(event['Data'])
|
self.detectByteCommand(event['Data'])
|
||||||
def handleControlMode(self, escapeSequence):
|
def handleControlMode(self, escapeSequence):
|
||||||
self.switchCtrlModeOnce -= 1
|
if self.switchCtrlModeOnce > 1:
|
||||||
if escapeSequence == b'a':
|
self.switchCtrlModeOnce -= 1
|
||||||
|
if escapeSequence == b'\x1bR':
|
||||||
self.controlMode = not self.controlMode
|
self.controlMode = not self.controlMode
|
||||||
if escapeSequence == b'b':
|
if escapeSequence == b'\x1b:':
|
||||||
self.switchCtrlModeOnce = 2
|
self.switchCtrlModeOnce = 2
|
||||||
|
|
||||||
def handleExecuteCommand(self, event):
|
def handleExecuteCommand(self, event):
|
||||||
|
Loading…
Reference in New Issue
Block a user