diff options
| author | ruki <[email protected]> | 2021-01-30 00:47:54 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-01-30 00:47:54 +0800 |
| commit | 6d4c063f511c724aec64f1bc578800d9c5e32342 (patch) | |
| tree | 6137621e9d4db5faf13989ee87b3256d8253ae49 /xmake/core/base/tty.lua | |
| parent | 5c635fdcb17ef853142cb4d7f0e43fc314efdd0f (diff) | |
improve tty
Diffstat (limited to 'xmake/core/base/tty.lua')
| -rw-r--r-- | xmake/core/base/tty.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/tty.lua b/xmake/core/base/tty.lua index 8388e601c..abaaf74f0 100644 --- a/xmake/core/base/tty.lua +++ b/xmake/core/base/tty.lua @@ -246,7 +246,7 @@ function tty.has_color8() if has_color8 == nil then if term == "vstudio" then has_color8 = false - elseif term == "xterm" or "mintty" then + elseif term == "xterm" or term == "mintty" then has_color8 = true end end |
