add -E
This commit is contained in:
parent
7182bc6556
commit
93f0551131
@ -109,8 +109,6 @@ class fenrirManager():
|
||||
self.environment['runtime']['screenManager'].injectTextToScreen(event['Data'])
|
||||
def handleControlMode(self, escapeSequence):
|
||||
convertedEscapeSequence = self.environment['runtime']['byteManager'].unifyEscapeSeq(escapeSequence)
|
||||
if len(convertedEscapeSequence) > 1:
|
||||
print(chr(convertedEscapeSequence[0]),chr(convertedEscapeSequence[1]))
|
||||
if convertedEscapeSequence == b'^[R':
|
||||
self.controlMode = not self.controlMode
|
||||
self.switchCtrlModeOnce = 0
|
||||
|
@ -215,14 +215,14 @@ class settingsManager():
|
||||
if cliArgs.print:
|
||||
self.setOptionArgDict('general', 'debugLevel', 3)
|
||||
self.setOptionArgDict('general', 'debugMode', 'PRINT')
|
||||
if cliArgs.emulation:
|
||||
if cliArgs.emulated_pty:
|
||||
self.setOptionArgDict('screen', 'driver', 'ptyDriver')
|
||||
self.setOptionArgDict('keyboard', 'driver', 'ptyDriver')
|
||||
# TODO needs cleanup use dict
|
||||
#self.setOptionArgDict('keyboard', 'keyboardLayout', 'pty')
|
||||
self.setSetting('keyboard', 'keyboardLayout', 'pty')
|
||||
self.setOptionArgDict('general', 'debugFile', '/tmp/fenrir-pty.log')
|
||||
if cliArgs.emulated-evdev:
|
||||
if cliArgs.emulated_evdev:
|
||||
self.setOptionArgDict('screen', 'driver', 'ptyDriver')
|
||||
self.setOptionArgDict('keyboard', 'driver', 'evdevDriver')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user