-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
No color in printstyled when pipe is used #30703
Comments
As a workaround, one can use:
and then |
JeffBezanson
added a commit
that referenced
this issue
Jul 16, 2020
- `--color=no` did not remove all color in the REPL - color was not fully disabled by default when stdout was a pipe - `--color=yes` did not enable color when stdout was a pipe (fixes #30703)
JeffBezanson
added a commit
that referenced
this issue
Jul 16, 2020
- `--color=no` did not remove all color in the REPL - color was not fully disabled by default when stdout was a pipe - `--color=yes` did not enable color when stdout was a pipe (fixes #30703)
JeffBezanson
added a commit
that referenced
this issue
Jul 17, 2020
- `--color=no` did not remove all color in the REPL - color was not fully disabled by default when stdout was a pipe - `--color=yes` did not enable color when stdout was a pipe (fixes #30703)
JeffBezanson
added a commit
that referenced
this issue
Jul 19, 2020
- `--color=no` did not remove all color in the REPL - color was not fully disabled by default when stdout was a pipe - `--color=yes` did not enable color when stdout was a pipe (fixes #30703)
JeffBezanson
added a commit
that referenced
this issue
Jul 22, 2020
- `--color=no` did not remove all color in the REPL - color was not fully disabled by default when stdout was a pipe - `--color=yes` did not enable color when stdout was a pipe (fixes #30703)
JeffBezanson
added a commit
that referenced
this issue
Jul 23, 2020
- `--color=no` did not remove all color in the REPL - color was not fully disabled by default when stdout was a pipe - `--color=yes` did not enable color when stdout was a pipe (fixes #30703)
simeonschaub
pushed a commit
to simeonschaub/julia
that referenced
this issue
Aug 11, 2020
- `--color=no` did not remove all color in the REPL - color was not fully disabled by default when stdout was a pipe - `--color=yes` did not enable color when stdout was a pipe (fixes JuliaLang#30703)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi guys!
I am trying to save a text file with the output of a Julia script but with the escape sequences so that I can render the colors. However, when I call Julia using pipe, I get no colors. Even if I have
--color=yes
. You can test by starting Julia as:The logo will be gray (but
julia>
will be colored). Is there a way to provide another option, like--color=force
so thatprintstyled
always use the escape sequences?The text was updated successfully, but these errors were encountered: