diff options
| author | ruki <[email protected]> | 2017-08-18 11:05:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-08-18 11:05:02 +0800 |
| commit | 7c11f1e69f0aa3bf30410f660dff16a647860320 (patch) | |
| tree | f3c48dc93a2b57c2c44af60b8a60b5df84718c95 /xmake/core/base/utils.lua | |
| parent | e9a58ed80873622d8de67ff8fad2b3bec868c7e5 (diff) | |
show logo with rainbow
Diffstat (limited to 'xmake/core/base/utils.lua')
| -rw-r--r-- | xmake/core/base/utils.lua | 4 |
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 |
