Highlight matches in color
jadedgnome opened this issue · comments
jadedgnome commented
grep highlights matches , it'd be great if pru could to.
Michael Grosser commented
should be easy to do, just check if $stdout.tty?
before adding color :)
can you make a PR ?
jadedgnome commented
I have no idea what any of that means.
Michael Grosser commented
color should only be added if $stdout.tty?
is false, so automated things don't get extra color
jadedgnome commented
ruby -e puts stdout.tty
is blank
Michael Grosser commented
ruby -e 'puts $stdout.tty?'
true
On Sun, Jul 27, 2014 at 2:52 PM, jadedgnome notifications@github.com
wrote:
ruby -e puts stdout.tty
is blank
—
Reply to this email directly or view it on GitHub
#10 (comment).