Update 55000-tab_completion.py
This commit is contained in:
parent
3271fe9010
commit
55e9f9e4b4
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user