From 7c11f1e69f0aa3bf30410f660dff16a647860320 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 18 Aug 2017 11:05:02 +0800 Subject: show logo with rainbow --- xmake/core/base/utils.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/core/base/utils.lua') 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 -- cgit v1.3.1