fix tab completion
This commit is contained in:
parent
13742ba980
commit
32794f2fe5
@ -18,7 +18,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 = self.env['screen']['newCursor']['x'] - self.env['screen']['oldCursor']['x']
|
xMove = self.env['screen']['newCursor']['x'] - self.env['screen']['oldCursor']['x']
|
||||||
if xMove > 0:
|
if xMove <= 0:
|
||||||
return
|
return
|
||||||
if self.env['runtime']['inputManager'].getShortcutType() in ['KEY']:
|
if self.env['runtime']['inputManager'].getShortcutType() in ['KEY']:
|
||||||
if not (self.env['runtime']['inputManager'].getLastDeepestInput() in [['KEY_TAB']]):
|
if not (self.env['runtime']['inputManager'].getLastDeepestInput() in [['KEY_TAB']]):
|
||||||
|
Loading…
Reference in New Issue
Block a user