Update 55000-tab_completion.py

This commit is contained in:
chrys authored and GitHub committed 2019-08-23 11:39:11 +02:00
1 parent 3271fe9010
commit 55e9f9e4b4
1 file changed
+1 -1
@@ -19,7 +19,7 @@ class command():
def run(self): def run(self):
# try to detect the tab completion by cursor change # try to detect the tab completion by cursor change
xMove = abs(self.env['screen']['newCursor']['x'] - self.env['screen']['oldCursor']['x']) xMove = abs(self.env['screen']['newCursor']['x'] - self.env['screen']['oldCursor']['x'])
if xMove <= 2: if xMove == 1:
return return
# is there any change? # is there any change?
if not self.env['runtime']['screenManager'].isDelta(): if not self.env['runtime']['screenManager'].isDelta():