Skip to content

support ANSI color output #13

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

Merged
merged 2 commits into from
Jan 14, 2025
Merged

support ANSI color output #13

merged 2 commits into from
Jan 14, 2025

Conversation

ahihi
Copy link
Collaborator

@ahihi ahihi commented Jan 14, 2025

implements proper interpretation of the ANSI color codes output by arduino-cli. this is enabled by default, but can be disabled by (setq arduino-cli-compile-color nil), which also causes --no-color to be passed to arduino-cli commands.

i have been using this for about half a year now with no issues. i believe the original code resulted in color codes being output uninterpreted in the compilation window, which was a bit ugly. so this version should improve the behavior of both the colorized and colorless use cases :)

@ahihi ahihi merged commit f4a26fc into motform:master Jan 14, 2025
1 check passed
ahihi added a commit to ahihi/arduino-cli-mode that referenced this pull request Jan 14, 2025
* add arduino-cli-compile-color option; apply compilation ansi colors

* document arduino-cli-compile-color variable
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

Successfully merging this pull request may close these issues.

1 participant