From d95d9fc1e6fbfbe4e3e4df00cda0005824503cdd Mon Sep 17 00:00:00 2001 From: chrys Date: Thu, 28 Jun 2018 14:44:13 +0200 Subject: [PATCH] Update inputManager.py --- src/fenrirscreenreader/core/inputManager.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/core/inputManager.py b/src/fenrirscreenreader/core/inputManager.py index 86241ea7..e451d911 100644 --- a/src/fenrirscreenreader/core/inputManager.py +++ b/src/fenrirscreenreader/core/inputManager.py @@ -67,7 +67,10 @@ class inputManager(): return # a hang apears.. try to fix if self.env['input']['eventBuffer'] == []: - self.env['input']['currInput'] = [] + if self.env['input']['currInput'] != []: + self.env['input']['currInput'] = [] + self.env['input']['shortcutRepeat'] = 1 + self.env['input']['prevInput'] = self.env['input']['currInput'].copy() if eventData['EventState'] == 0: if eventData['EventName'] in self.env['input']['currInput']: