summaryrefslogtreecommitdiff
path: root/xmake/core/base/utils.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-08-18 11:05:02 +0800
committerruki <[email protected]>2017-08-18 11:05:02 +0800
commit7c11f1e69f0aa3bf30410f660dff16a647860320 (patch)
treef3c48dc93a2b57c2c44af60b8a60b5df84718c95 /xmake/core/base/utils.lua
parente9a58ed80873622d8de67ff8fad2b3bec868c7e5 (diff)
show logo with rainbow
Diffstat (limited to 'xmake/core/base/utils.lua')
-rw-r--r--xmake/core/base/utils.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/utils.lua b/xmake/core/base/utils.lua
index 42a55a5e9..5ab310004 100644
--- a/xmake/core/base/utils.lua
+++ b/xmake/core/base/utils.lua
@@ -91,7 +91,7 @@ function utils.cprint(format, ...)
assert(format)
-- trace
- utils._print(colors(string.tryformat(format, ...)))
+ utils._print(colors.translate(string.tryformat(format, ...)))
end
-- print format string and colors without newline
@@ -101,7 +101,7 @@ function utils.cprintf(format, ...)
assert(format)
-- trace
- utils._iowrite(colors(string.tryformat(format, ...)))
+ utils._iowrite(colors.translate(string.tryformat(format, ...)))
end
-- the verbose function