From 32794f2fe55047b7e35f087a8e246c461db9e17a Mon Sep 17 00:00:00 2001 From: Chrys Date: Fri, 6 Sep 2019 22:49:50 +0200 Subject: [PATCH] fix tab completion --- .../commands/onCursorChange/55000-tab_completion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py b/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py index 7ef2fc93..cf7419b7 100644 --- a/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py +++ b/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py @@ -18,7 +18,7 @@ class command(): def run(self): # try to detect the tab completion by cursor change xMove = self.env['screen']['newCursor']['x'] - self.env['screen']['oldCursor']['x'] - if xMove > 0: + if xMove <= 0: return if self.env['runtime']['inputManager'].getShortcutType() in ['KEY']: if not (self.env['runtime']['inputManager'].getLastDeepestInput() in [['KEY_TAB']]):