commit | 757e87a197dc09b1c0c30896de938ba187f4a870 | [log] [tgz] |
---|---|---|
author | Petr Hosek <phosek@chromium.org> | Fri Jan 19 17:10:55 2018 +0000 |
committer | Petr Hosek <phosek@chromium.org> | Fri Jan 19 17:10:55 2018 +0000 |
tree | 68ba6655e17773f43e5c8305ab7bde63051ec35a | |
parent | 9e17395714e526eda59f8b17082362fb8714b3ae [diff] |
Fallback option for colorized output when terminfo isn't available Try to detect the terminal color support by checking the value of the TERM environment variable. This is not great, but it's better than nothing when terminfo library isn't available, which may still be the case on some Linux distributions. Differential Revision: https://reviews.llvm.org/D42055 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322962 91177308-0d34-0410-b5e6-96231b3b80d8