Skip to content
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 colors when piping to less/redirecting output #14

Closed
seandilda opened this issue Apr 22, 2016 · 2 comments
Closed

No colors when piping to less/redirecting output #14

seandilda opened this issue Apr 22, 2016 · 2 comments

Comments

@seandilda
Copy link

It looks like the code will only run colors if the output is a tty. Unfortunately, this means when I pipe to less to more easily see all my output, the colors are removed. Likewise, I can't redirect output, then less it as colors are also removed.

Can we get an option to force colors?

@grosser
Copy link

grosser commented Apr 22, 2016

make a PR with a --color option ... alternatively use script -q /dev/null
ruby test.rb to fake tty

On Fri, Apr 22, 2016 at 8:26 AM, Sean Dilda notifications@github.com
wrote:

It looks like the code will only run colors if the output is a tty.
Unfortunately, this means when I pipe to less to more easily see all my
output, the colors are removed. Likewise, I can't redirect output, then
less it as colors are also removed.

Can we get an option to force colors?


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/blowmage/minitest-rg/issues/14

@zenspider
Copy link

7 years, no response. Closing

@zenspider zenspider closed this as not planned Won't fix, can't repro, duplicate, stale Aug 1, 2023
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

No branches or pull requests

3 participants