SublimeANSI icon indicating copy to clipboard operation
SublimeANSI copied to clipboard

Wait for ExecCommand before colorizing

Open mheinzler opened this issue 7 years ago • 1 comments

ExecCommand uses a short timeout internally to append the data to the view. If this timeout isn't fired fast enough the regions can't be colored. A simple solution is to also add a timeout to the colorization.

This could still be improved a little by checking whether the regions are within the view size, and only use a timeout if they are not. That would remove some rare flickering introduced by the timeout.

mheinzler avatar Aug 22 '18 20:08 mheinzler

Disclaimer: I am not using the on_data mode so I wont test and merge this PR.

I make this disclaimer just because it looks like I am the only active maintainer in the repo.

jfcherng avatar Aug 23 '18 06:08 jfcherng