summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules/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/sandbox/modules/utils.lua
parente9a58ed80873622d8de67ff8fad2b3bec868c7e5 (diff)
show logo with rainbow
Diffstat (limited to 'xmake/core/sandbox/modules/utils.lua')
-rw-r--r--xmake/core/sandbox/modules/utils.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/sandbox/modules/utils.lua b/xmake/core/sandbox/modules/utils.lua
index 4e3c8858f..c8593098f 100644
--- a/xmake/core/sandbox/modules/utils.lua
+++ b/xmake/core/sandbox/modules/utils.lua
@@ -97,12 +97,12 @@ end
-- print format string, the builtin variables and colors with newline
function sandbox_utils.cprint(format, ...)
- utils._print(colors(vformat(format, ...)))
+ utils._print(colors.translate(vformat(format, ...)))
end
-- print format string, the builtin variables and colors without newline
function sandbox_utils.cprintf(format, ...)
- utils._iowrite(colors(vformat(format, ...)))
+ utils._iowrite(colors.translate(vformat(format, ...)))
end
-- print() if enable verbose