summaryrefslogtreecommitdiff
path: root/xmake/core/base/tty.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-01-30 00:47:28 +0800
committerruki <[email protected]>2021-01-30 00:47:28 +0800
commit5c635fdcb17ef853142cb4d7f0e43fc314efdd0f (patch)
tree2e9490df5a35022c5084556bf3e99ef756fb749e /xmake/core/base/tty.lua
parent3b0db6a576d291e9aaadb5a485173c39fffb9c1e (diff)
improve tty
Diffstat (limited to 'xmake/core/base/tty.lua')
-rw-r--r--xmake/core/base/tty.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/tty.lua b/xmake/core/base/tty.lua
index f079de592..8388e601c 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" then
+ elseif term == "xterm" or "mintty" then
has_color8 = true
end
end