You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Makefile colors do not work e.g. \033[0;34mFormatting with astyle \033[m
Certain terminal combinations like cygwin - mintty - xterm - bash do not escape colors by default.
Solution: Force interpretation of backslash escapes with the parameter -e of echo.
This change introduce a new issue in MacOS console:
bash-3.2$ make format
-e \033[0;94mFormatting with astyle \033[m
Sorry for that side effect, I was testing all the systems available to me for this PR and was assuming the mac console would react similarly to linux which is obviously not the case. I'm willing to fix this but how can I test? Is there a way to reproduce on Windows/Linux? I know there are inofficial MacOS VMs but I try to avoid spending hours just to see the color and text of the output in the console.
EDIT: Maybe I could test on @julianoes's mac when he's back next week?
@MaEtUgR M
FYI
This change introduce a new issue in MacOS console:
PR that introduces this: #9441 (comment)
The text was updated successfully, but these errors were encountered: