diff options
-rw-r--r-- | authors.txt | 1 | ||||
-rw-r--r-- | mesonbuild/mlog.py | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/authors.txt b/authors.txt index 80c4bbb..c82b288 100644 --- a/authors.txt +++ b/authors.txt @@ -67,3 +67,4 @@ Fabio Porcedda Rodrigo Lourenço Sebastian Stang Marc Becker +Michal Sojka diff --git a/mesonbuild/mlog.py b/mesonbuild/mlog.py index 843f366..bad756a 100644 --- a/mesonbuild/mlog.py +++ b/mesonbuild/mlog.py @@ -18,7 +18,8 @@ import sys, os, platform, io information about Meson runs. Some output goes to screen, some to logging dir and some goes to both.""" -colorize_console = platform.system().lower() != 'windows' and os.isatty(sys.stdout.fileno()) +colorize_console = platform.system().lower() != 'windows' and os.isatty(sys.stdout.fileno()) and \ + os.environ.get('TERM') != 'dumb' log_dir = None log_file = None |