You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in most programs (eg rg, yq, less etc), there's an option to write colors even if output is redirected (to stdout or a file etc).
Can we either honor the flag --colors=8 when specified, or add a flag --usecolors=yes|no|auto to specify whether coloring should be used (yes would force regardless of stdout redirection, auto would depend on whether stdout is redirected)
I use moar because it just works for syntax highlight (eg use case where other tools fail: mikefarah/yq#1162 (comment)) but now am facing the issue that it doesn't work if I need to redirect it somehow
The text was updated successfully, but these errors were encountered:
in most programs (eg rg, yq, less etc), there's an option to write colors even if output is redirected (to stdout or a file etc).
Can we either honor the flag
--colors=8
when specified, or add a flag--usecolors=yes|no|auto
to specify whether coloring should be used (yes would force regardless of stdout redirection, auto would depend on whether stdout is redirected)I use moar because it just works for syntax highlight (eg use case where other tools fail: mikefarah/yq#1162 (comment)) but now am facing the issue that it doesn't work if I need to redirect it somehow
The text was updated successfully, but these errors were encountered: