balooshow: Colorize only when attached to terminal
ClosedPublic

Authored by michaelh on Apr 15 2018, 3:42 PM.

Details

Test Plan
$ balooshow otto.txt
$ balooshow otto.txt | head -n 12

Diff Detail

Repository
R293 Baloo
Branch
no-color (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
michaelh created this revision.Apr 15 2018, 3:42 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptApr 15 2018, 3:42 PM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript
michaelh requested review of this revision.Apr 15 2018, 3:42 PM
bruns accepted this revision.Apr 15 2018, 11:27 PM
bruns added reviewers: bruns, FreeBSD.

LGTM
Can somebody FreeBSD folk confirm this works also on FreeBSD?

tcberner accepted this revision.Apr 16 2018, 5:51 AM
tcberner added a subscriber: tcberner.

Works as intended on FreeBSD.

This revision is now accepted and ready to land.Apr 16 2018, 5:51 AM
This revision was automatically updated to reflect the committed changes.