hack around double spoken

This commit is contained in:
chrys 2017-03-26 22:34:33 +02:00
parent 6e46800bb8
commit aee2704e94

View File

@ -24,9 +24,10 @@ class command():
return return
if self.env['runtime']['screenManager'].isScreenChange(): if self.env['runtime']['screenManager'].isScreenChange():
return return
# this leads to problems in vim -> status line change -> no announcement # this leads to problems in vim -> status line change -> no announcement, so we do check the lengh as hack
#if self.env['runtime']['screenManager'].isDelta(): if self.env['runtime']['screenManager'].isDelta():
# return if len(self.env['screenData']['newDelta']) > 4:
return
# is a vertical change? # is a vertical change?
if not self.env['runtime']['cursorManager'].isCursorVerticalMove(): if not self.env['runtime']['cursorManager'].isCursorVerticalMove():