From 7736559e92425de8b001e8bd402fb55f537a6f56 Mon Sep 17 00:00:00 2001 From: Chrys Date: Sat, 7 Sep 2019 17:14:03 +0200 Subject: [PATCH] make paste work again --- .../commands/onCursorChange/55000-tab_completion.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py b/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py index cf7419b7..4bc712b2 100644 --- a/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py +++ b/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py @@ -22,10 +22,12 @@ class command(): return if self.env['runtime']['inputManager'].getShortcutType() in ['KEY']: if not (self.env['runtime']['inputManager'].getLastDeepestInput() in [['KEY_TAB']]): - return + if xMove < 5: + return elif self.env['runtime']['inputManager'].getShortcutType() in ['BYTE']: if not (self.env['runtime']['byteManager'].getLastByteKey() in [b' ', b'\t']): - return + if xMove < 5: + return # is there any change? if not self.env['runtime']['screenManager'].isDelta(): return