Skip to content

Pretty gradient... is not always pretty #1465

Description

@scop

Description

This is how the new pretty gradient renders in GitLab CI outputs:

Image

Would be nice to have this not happen some way (preferally automatically), while still rendering usual color output.

Somewhat related: #1452

lefthook.yml

N/A

Commands to reproduce

(any lefthook command in GitLab CI)

Lefthook version

2.1.10 (but I think this was already in 2.1.9)

Possible solution

Autodetect if the termincal could support the gradients/other full color output, degrade gracefully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions