-
-
Notifications
You must be signed in to change notification settings - Fork 404
add option to disable color escapes on stdout #651
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
Comments
Is there a way to reproduce the colored message without Arduino board? |
@howjmay this should do it (the last command produces the color escape output, the first two are just needed to install the
|
May I try to take this issue. I guess I find the solution for this issue (at least the command listed above). What is the command that can toggle the color? |
Maybe using E.g. man ls has:
|
I'm with @matthijskooijman on this if we support colour format we should use more legacy-like methods |
I think we can close this one since we added the flag |
Bug Report
Current behavior
arduino-cli board details
color escape characters show up on stdout:
Option: MCU mcu
←[32mATtiny13←[0m ←[32m?←[0m ←[32mmcu=t13←[0m
Expected behavior
no escape codes
Environment
arduino-cli version
): 0.9.0 Commit: e4d02b4Additional context
colored output on stdout appears to be hard-coded.
arduino-cli/cli/cli.go
Line 180 in 2791756
The text was updated successfully, but these errors were encountered: