-
Notifications
You must be signed in to change notification settings - Fork 18
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
Colourised output even when TERM=dumb #360
Comments
Could you provide reproduction steps? We should be checking |
Steps(not minimised, sorry)
Expected output
Actual outputTwo error reports with coloured output, including in overview report, and coloured diff. DiscussionI may be confused, but during my testing they appeared to be influenced by previous runs. Hence the two step process above. I can see the colour escape sequences if I add |
$ git checkout 3957a384aca2cef964e86ba9ad48d98c6f4cf0dc I got an error that that commit wasn't in my tree |
Sorry about that. Fixed it, please use 5e2d5532d002c9df9a4cf6d83cdbe7d6125bc4be (if you still need it...) |
When running trycmd in an environment without a graphical terminal (for example, an emacs M-x compile window) trycmd still produces colourised output.
trycmd should look at TERM to decide whether to colourise the output. At the very least, if TERM=dumb it should avoid sending control codes.
CC @gabi-250 (since this is related to use of trycmd in Arti's tests)
The text was updated successfully, but these errors were encountered: