-
Notifications
You must be signed in to change notification settings - Fork 138
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
ANSI output stripping does not work if TERM is xterm #83
Comments
Can you explain what your test is and which line you're pointing at ? |
Yes, I wanted to test your The shared library is loaded successfully. The spurious line is https://github.com/fusesource/jansi/blob/master/jansi/src/main/java/org/fusesource/jansi/AnsiConsole.java#L122 Using I can create a sample project if you want, isolated from Maven usecase. |
I'm not sure why there is the XTERM check, but imho the behavior should be similar to commands such as ls, i.e. a flag which can have the values: |
We already have the
|
I am aware of that and this actually what we want to achieve in Maven. See here. We wan't to mimic |
Just debugged the following:
I still see colors eventhough
isatty(fileno)
says 0 forstdout
.I have:
So the following line
kills this check on non-Cygwin.
There must be a better way for Cygwin since Unix is broken.
Any thoughts?
The text was updated successfully, but these errors were encountered: