diff options
author | Yestin L. Harrison <yestin@ylh.io> | 2021-07-01 18:19:01 -0600 |
---|---|---|
committer | Yestin L. Harrison <yestin@ylh.io> | 2021-07-01 18:19:01 -0600 |
commit | 20cce079f258dc3f62340ecd7b9de1bbd99ef814 (patch) | |
tree | 348b44b7537de6235e6a78914155c18f239166f6 /src/libmain | |
parent | 139f7af5ec40ca75ad2ef9393c5029f0850105d9 (diff) |
Respect TERM=dumb more consistently
Diffstat (limited to 'src/libmain')
-rw-r--r-- | src/libmain/progress-bar.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmain/progress-bar.cc b/src/libmain/progress-bar.cc index 15354549a..b2a6e2a82 100644 --- a/src/libmain/progress-bar.cc +++ b/src/libmain/progress-bar.cc @@ -484,7 +484,7 @@ Logger * makeProgressBar(bool printBuildLogs) { return new ProgressBar( printBuildLogs, - isatty(STDERR_FILENO) && getEnv("TERM").value_or("dumb") != "dumb" + shouldANSI() ); } |