-
-
Notifications
You must be signed in to change notification settings - Fork 740
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
Regression: rc0003 outputs extra characters on OSX #3077
Comments
@augustoproiete We're not using Spectre.Console to render anything and everything related to VT100 sequence rendering is still the same code since the last release to my knowledge. What terminal are you running? |
Spectre.Console was my best guess... Comparing what's changed between RC3 vs RC2, the change from Spectre.Cli to Spectre.Console is the only thing that stands out, I think: |
Log of running with verbosity=diagnostic vs default Diagnostic
Default
|
@devlead Yeah, it's a VT100 escape sequence controlling resetting of text that gets emitted out of context for some reason: https://github.com/cake-build/cake/blob/release/1.0.0/src/Cake.Core/Diagnostics/Console/AnsiConsoleRenderer.cs#L13 |
For me behavior starts with commit d5873f0 Which is the Spectre.Cli -> Spectre.Console migration |
Weirdly get the error with Spectre.Console 0.37.0 but not 0.36.0 |
…n v0.37.0 with OSX ANSI After v1.0 is release, we'll upgrade to a future version of Spectre.Console that fixes it
…re-console-0-36-0 (GH-3077) Downgrade to Spectre.Console v0.36.0 due to bug in v0.37.0 with OSX ANSI
Fixed by #3093 |
🎉 This issue has been resolved in version v1.0.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
Cake 1.0.0-rc0003 seems to write spurious characters the first time a script writes to the Console on OSX.
I'm only able to reproduce on OSX. In Windows it works as expected (Tested Command-prompt, PowerShell, Windows Terminal).
At first glance, it appears to be a side-effect of migrating to Spectre.Console.
What You Are Seeing?
What is Expected?
What version of Cake are you using?
v1.0.0-rc0003
Are you running on a 32 or 64 bit system?
64-bit
What environment are you running on? Windows? Linux? Mac?
OSX.
Are you running on a CI Server? If so, which one?
No
How Did You Get This To Happen? (Steps to Reproduce)
The text was updated successfully, but these errors were encountered: