From 3f1de8c911e93b3758e7ab92542c55fb0a6d646d Mon Sep 17 00:00:00 2001 From: chrys Date: Sun, 25 Mar 2018 03:20:44 +0200 Subject: [PATCH] change correct toggle shortcuts --- src/fenrirscreenreader/core/fenrirManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/core/fenrirManager.py b/src/fenrirscreenreader/core/fenrirManager.py index 2da7cbae..687e0ff0 100644 --- a/src/fenrirscreenreader/core/fenrirManager.py +++ b/src/fenrirscreenreader/core/fenrirManager.py @@ -95,7 +95,7 @@ class fenrirManager(): not self.controlMode and self.switchCtrlModeOnce == 1: self.detectByteCommand(event['Data']) def handleControlMode(self, escapeSequence): - if self.switchCtrlModeOnce > 1: + if self.switchCtrlModeOnce > 0: self.switchCtrlModeOnce -= 1 if escapeSequence in [b'\x1bR', b'^[R']: self.controlMode = not self.controlMode