Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colour is not applied until build is finished #39

Open
WillBishop opened this issue Jul 6, 2017 · 2 comments
Open

Colour is not applied until build is finished #39

WillBishop opened this issue Jul 6, 2017 · 2 comments

Comments

@WillBishop
Copy link

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"                                                                                                                                        

}
`

@aziz
Copy link
Owner

aziz commented Jul 6, 2017

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.

@alvolturbo
Copy link

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants