From d6498f053cd19f4c5f7ce18ed66547e481b51555 Mon Sep 17 00:00:00 2001 From: Chrys Date: Fri, 6 Sep 2019 22:10:39 +0200 Subject: [PATCH] remove unneded checks --- .../commands/onCursorChange/55000-tab_completion.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py b/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py index 5627c5a3..d111872f 100644 --- a/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py +++ b/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py @@ -32,10 +32,7 @@ class command(): return if not xMove == len(self.env['screen']['newDelta']): return - # detect deletion or chilling - if self.env['screen']['newCursor']['x'] <= self.env['screen']['oldCursor']['x']: - return - + # filter unneded space on word begin currDelta = self.env['screen']['newDelta'] if len(currDelta.strip()) != len(currDelta) and \