Skip to content

Is output clean when redirected ? #34

@ewjoachim

Description

@ewjoachim

I haven't tested it, but I wonder what the output looks like when not connected to a TTY. I believe colorama behavies itself, and doesn't output colors. Though, we also do a fair share of line rewriting and we should maybe avoid this.

Note: I believe sys.stdout.isatty might be helpful, but there's maybe something more advanced in click or colorama to help us.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions