-
-
Notifications
You must be signed in to change notification settings - Fork 570
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
[Odin Test] Ignore ANSI escape codes for non tty outputs #4100
Comments
I've been aware of this since the rewrite. This happens with any You can mitigate some of this by using |
The compiler has this piece of code to determine if it should do colors, is this a good idea to port over and use here? Lines 2860 to 2905 in f49ebae
|
|
Context
When using
odin test
where the output is not printed to a terminal but say the output window in Sublime Text or in my case, Focus, the output is unnecessarily messy. It would be nice if we could ignore the ANSI escape codes or have a flag to disable them.Odin report
Expected Behavior
When building a project from either Sublime text or Focus, or any other non tty output, i'd expect something like this:
Current Behavior
Where as right now the output is this.
Steps to Reproduce
To Reproduce
> odin test /path/to/project/
Additional notes
I started out making this a Focus editor issue but as the maintainer responded, shouldn't this be handled by Odin?
The text was updated successfully, but these errors were encountered: