improve vim/emacs
This commit is contained in:
parent
546b44febc
commit
cc2768a614
@ -27,6 +27,8 @@ class command():
|
|||||||
if abs(self.env['screenData']['newCursor']['x'] - self.env['screenData']['oldCursor']['x']) >= 1:
|
if abs(self.env['screenData']['newCursor']['x'] - self.env['screenData']['oldCursor']['x']) >= 1:
|
||||||
if len(self.env['screenData']['newDelta'].strip(' \n\t')) <= 2:
|
if len(self.env['screenData']['newDelta'].strip(' \n\t')) <= 2:
|
||||||
return
|
return
|
||||||
|
if abs(self.env['screenData']['newCursor']['y'] - self.env['screenData']['oldCursor']['y']) == 1:
|
||||||
|
return
|
||||||
|
|
||||||
self.env['runtime']['outputManager'].presentText(self.env['screenData']['newDelta'], interrupt=False)
|
self.env['runtime']['outputManager'].presentText(self.env['screenData']['newDelta'], interrupt=False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user