diff options
| author | Joey Hess <joey@kitenet.net> | 2014-11-18 00:19:11 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-11-18 00:19:11 -0400 |
| commit | 82d50a57968c73adaa4feb1a245d93403c72ce09 (patch) | |
| tree | d20f37fc3f9d9bbafda5ee743022af06be04a267 /src/Propellor/SimpleSh.hs | |
| parent | fcf4ad84646b6c215cd5bc9517aa890d60f65a44 (diff) | |
Avoid outputting color setting sequences when not run on a terminal.
Currently TERM is checked for every message. Could be memoized, but it
would add complexity, and typical propellor output is not going to be more
than a few hundred messages, and likely this will be swamped by the actual
work.
Diffstat (limited to 'src/Propellor/SimpleSh.hs')
0 files changed, 0 insertions, 0 deletions
