From 8b49ab89140b814a16615d69d536fb2bd38bc992 Mon Sep 17 00:00:00 2001 From: Chrys Date: Sat, 7 Sep 2019 17:28:08 +0200 Subject: [PATCH] make paste work again --- .../commands/onCursorChange/55000-tab_completion.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py b/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py index 4bc712b2..a69f87c8 100644 --- a/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py +++ b/src/fenrirscreenreader/commands/onCursorChange/55000-tab_completion.py @@ -25,7 +25,11 @@ class command(): if xMove < 5: return elif self.env['runtime']['inputManager'].getShortcutType() in ['BYTE']: - if not (self.env['runtime']['byteManager'].getLastByteKey() in [b' ', b'\t']): + found = False + for currByte in self.env['runtime']['byteManager'].getLastByteKey(): + if currByte == 9: + found = True + if not found: if xMove < 5: return # is there any change?