Skip to content

No color when piping dyff output #467

Closed
@edobry

Description

@edobry

Hello, first of all thank you for this great tool!

I'm trying to use bat to view the output diff in cases where its very long, and generally this works great. However, specifically when using --output dyff, the output is never colorized, even if I include --color and/or HELM_DIFF_COLOR. Piping output with color also works with the other --output modes and less -R, confirming that its a problem with bat.

The dyff README documents this behavior, but doesn't seem to provide a way to disable it. I looked through the relevant code of both tools but was unable to find an obvious way to do this.

I opened an issue with the dyff repo to report this and ask for such a method: homeport/dyff#304

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions