mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 13:06:01 +01:00
Respect TERM=dumb more consistently
This commit is contained in:
parent
139f7af5ec
commit
20cce079f2
4 changed files with 9 additions and 2 deletions
|
|
@ -484,7 +484,7 @@ Logger * makeProgressBar(bool printBuildLogs)
|
|||
{
|
||||
return new ProgressBar(
|
||||
printBuildLogs,
|
||||
isatty(STDERR_FILENO) && getEnv("TERM").value_or("dumb") != "dumb"
|
||||
shouldANSI()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue