change correct toggle shortcuts
This commit is contained in:
parent
666941af15
commit
8c601ae7c0
@ -97,9 +97,10 @@ class fenrirManager():
|
||||
def handleControlMode(self, escapeSequence):
|
||||
if self.switchCtrlModeOnce > 1:
|
||||
self.switchCtrlModeOnce -= 1
|
||||
if escapeSequence == b'\x1bR':
|
||||
if escapeSequence in [b'\x1bR', b'^[R']:
|
||||
self.controlMode = not self.controlMode
|
||||
if escapeSequence == b'\x1b:':
|
||||
self.switchCtrlModeOnce = 0
|
||||
if escapeSequence in [b'\x1b:', b'^[:']:
|
||||
self.switchCtrlModeOnce = 2
|
||||
|
||||
def handleExecuteCommand(self, event):
|
||||
|
Loading…
Reference in New Issue
Block a user