Skip to content

Do not print colors if stdout is no tty - #101

Merged
Foxboron merged 1 commit into
archlinux:masterfrom
kpcyrd:no-colors
Sep 1, 2021
Merged

Do not print colors if stdout is no tty#101
Foxboron merged 1 commit into
archlinux:masterfrom
kpcyrd:no-colors

Conversation

@kpcyrd

@kpcyrd kpcyrd commented Jul 31, 2021

Copy link
Copy Markdown
Member

We currently always print color codes, even if stdout/stderr are a pipe instead of a terminal.

@Foxboron
Foxboron merged commit 0bffc35 into archlinux:master Sep 1, 2021
@kpcyrd
kpcyrd deleted the no-colors branch September 1, 2021 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants