From 61ae623bda980eeb65f5f26c86e9a246a43b93cd Mon Sep 17 00:00:00 2001 From: TitanSnow Date: Sat, 29 Apr 2017 21:44:45 +0800 Subject: fix sandbox_utils.cprint no color reset eol add '\x1b[0m' on eol --- xmake/core/sandbox/modules/utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/core/sandbox/modules/utils.lua') diff --git a/xmake/core/sandbox/modules/utils.lua b/xmake/core/sandbox/modules/utils.lua index b2d567015..80a21aef8 100644 --- a/xmake/core/sandbox/modules/utils.lua +++ b/xmake/core/sandbox/modules/utils.lua @@ -100,7 +100,7 @@ end function sandbox_utils.cprint(format, ...) -- done - utils._iowrite(colors(vformat(format, ...) .. "\n")) + utils._iowrite(colors(vformat(format, ...)) .. "\n") end -- print format string, the builtin variables and colors without newline -- cgit v1.3.1