summaryrefslogtreecommitdiff
path: root/src/basic/copy.h
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2016-01-19 10:17:19 +0100
committerJan Synacek <jsynacek@redhat.com>2016-01-20 10:12:41 +0100
commit40c9fe4c0862114dab390c8ed16f78cf056b9140 (patch)
tree04bb1f55765a432bb0495963871eaf6dcd10faaf /src/basic/copy.h
parentd619a0c4a5bf4f9d5796bcac77160a14e4e24cb6 (diff)
basic/terminal-util: introduce SYSTEMD_COLORS environment variable
... to determine if color output should be enabled. If the variable is not set, fall back to using on_tty(). Also, rewrite existing code to use colors_enabled() where appropriate.
Diffstat (limited to 'src/basic/copy.h')
0 files changed, 0 insertions, 0 deletions