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