summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules/utils.lua
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-04-29 21:44:45 +0800
committerTitanSnow <[email protected]>2017-04-29 21:44:45 +0800
commit61ae623bda980eeb65f5f26c86e9a246a43b93cd (patch)
tree6ae473bc89c6ffc37e7f032562cad95fd9ff4348 /xmake/core/sandbox/modules/utils.lua
parent90d69cadfa5f5846e311876bfbd4a298c666fc8e (diff)
fix sandbox_utils.cprint no color reset eol
add '\x1b[0m' on eol
Diffstat (limited to 'xmake/core/sandbox/modules/utils.lua')
-rw-r--r--xmake/core/sandbox/modules/utils.lua2
1 files changed, 1 insertions, 1 deletions
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