SublimeANSI icon indicating copy to clipboard operation
SublimeANSI copied to clipboard

Colour is not applied until build is finished

Open WillBishop opened this issue 8 years ago • 2 comments

This GIF shows the issue

https://i.gyazo.com/4151e11a78b83a31e58a9010cd2e2333.mp4

My build system looks like this:

`{ "target": "ansi_color_build", "syntax": "Packages/ANSIescape/ANSI.tmLanguage",

"shell_cmd": "my commands"                                                                                                                                        

}
`

WillBishop avatar Jul 06 '17 15:07 WillBishop

I don't think there's a way to get rid of it. Remember that SublimeANSI is just a hack!

Although there're some tricks to improve the UX and destroy it in other ways! One idea is to hide the output panel and prepare the content first and then put it into the output panel view and show it.

aziz avatar Jul 06 '17 15:07 aziz

For now You can use setting in your ansi.sublime-settings:

// when to process ANSI encoded string // possible vals: // - on_finish - after whole build process (default) // - on_data - when new data is posted to exec output "ANSI_process_trigger": "on_data"

alvolturbo avatar Oct 17 '17 09:10 alvolturbo