improve vim/emacs

This commit is contained in:
chrys 2017-02-25 16:17:55 +01:00
parent 546b44febc
commit cc2768a614

View File

@ -27,6 +27,8 @@ class command():
if abs(self.env['screenData']['newCursor']['x'] - self.env['screenData']['oldCursor']['x']) >= 1:
if len(self.env['screenData']['newDelta'].strip(' \n\t')) <= 2:
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)