mirror of
https://github.com/NixOS/nix.git
synced 2025-04-15 13:47:34 +00:00
parent
5921ca89f9
commit
8f9dcfc671
@ -446,7 +446,9 @@ public:
|
||||
|
||||
void startProgressBar(bool printBuildLogs)
|
||||
{
|
||||
logger = new ProgressBar(printBuildLogs, isatty(STDERR_FILENO));
|
||||
logger = new ProgressBar(
|
||||
printBuildLogs,
|
||||
isatty(STDERR_FILENO) && getEnv("TERM").value_or("dumb") != "dumb");
|
||||
}
|
||||
|
||||
void stopProgressBar()
|
||||
|
Loading…
Reference in New Issue
Block a user