-
Notifications
You must be signed in to change notification settings - Fork 81
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
Formatting lost after build is finished #108
Comments
could you do some screenshots or provide the build configuration? |
Well, yes, but it seems to be a bit more complicated than what I first explained. This is my build config: https://github.com/vercas/Beelzebub/blob/master/Beelzebub.sublime-project#L63 Is this supposed to happen when pressing the Escape key? Am I just daft enough to randomly press Escape without realizing it? 😟 |
That’s odd. (Ya, you are right. That screenshot is useless). Could you turn on the debug settings in Terminus preferences then repeat the |
I've seen this a couple times using |
With this build system, I always get a colored output
|
|
Yes, I had figured that out after I posted. Thanks. In my case, something is rerunning the build. Focusing or unfocusing the panel seems to trigger it? I can see the process spin up afterwards. The text output doesn't change but the coloring is overwritten. First all white then the new color is overlaid (incorrectly, as the test order is randomised) as the command runs. I guess this two things, do I need to clear the panel myself before a build? And, what would cause the command to rerun? This is my current build command
I only have a few packages installed, Terminus, Origami, and LSP. And I confirm this doesn't happen when using the stock build panel. |
It will be great if someone can come up with a small reproducible example. |
I think @macowie describes the problem - something is re-running the build. |
Yeah, I can confirm that it does spurious builds. When going back to Sublime, still in the Terminus build view, I can see on the bottom left the line and column numbers changing rapidly, climbing up... |
I think I know what's happening now. There is a feature to relaunch the terminal if the process is terminated. The same mechanism must have been triggered in your cases. Obviously, it is only useful for regular shell and is not desired for a build system. |
I have pushed a fix and made a release v0.2.30. It will be available from package control soon. |
Can't reproduce it right now. Will keep using it today to see if I encounter the issue anymore. |
Yes, this fixed it for me. Running a build is working as expected. I also opened a regular shell in a panel and tried various things and it all worked just fine. Thanks! |
When using Terminus for builds, I can see colored output just fine from the build command (e.g. from GCC) while the build is running, but it's all gone when the build is finished and the text remains plain white.
The text was updated successfully, but these errors were encountered: