diff --git a/src/fenrirscreenreader/core/fenrirManager.py b/src/fenrirscreenreader/core/fenrirManager.py index 57f64b78..16bc845a 100644 --- a/src/fenrirscreenreader/core/fenrirManager.py +++ b/src/fenrirscreenreader/core/fenrirManager.py @@ -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 diff --git a/src/fenrirscreenreader/core/settingsManager.py b/src/fenrirscreenreader/core/settingsManager.py index 6a1a87d0..a2180b3e 100644 --- a/src/fenrirscreenreader/core/settingsManager.py +++ b/src/fenrirscreenreader/core/settingsManager.py @@ -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')