try to harden tab completion
This commit is contained in:
parent
cacfaac649
commit
fe96d204a7
@ -21,6 +21,12 @@ class command():
|
|||||||
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 == 1:
|
if xMove == 1:
|
||||||
return
|
return
|
||||||
|
if self.env['runtime']['inputManager'].getShortcutType() in ['KEY']:
|
||||||
|
if not (self.env['runtime']['inputManager'].getLastDeepestInput() in [['KEY_TAB']]):
|
||||||
|
return
|
||||||
|
if self.env['runtime']['inputManager'].getShortcutType() in ['BYTE']:
|
||||||
|
if not (self.env['runtime']['byteManager'].getLastByteKey() in [b' '):
|
||||||
|
return
|
||||||
# is there any change?
|
# is there any change?
|
||||||
if not self.env['runtime']['screenManager'].isDelta():
|
if not self.env['runtime']['screenManager'].isDelta():
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user