From 8f587d43f45121d12264ca861e4920b5957d13cd Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 2 Jan 2019 23:50:15 +0800 Subject: clear progress style in object.lua --- xmake/actions/build/kinds/object.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xmake/actions/build/kinds/object.lua b/xmake/actions/build/kinds/object.lua index d370535cc..d66807363 100644 --- a/xmake/actions/build/kinds/object.lua +++ b/xmake/actions/build/kinds/object.lua @@ -41,9 +41,9 @@ function _build_from_object(target, sourcefile, objectfile, progress) -- trace progress info if verbose then - cprint("${color.build.progress}[%3d%%]: ${color.build.object.verbose}inserting.$(mode) %s", progress, sourcefile) + cprint("${color.build.progress}[%3d%%]: ${clear}${color.build.object.verbose}inserting.$(mode) %s", progress, sourcefile) else - cprint("${color.build.progress}[%3d%%]: ${color.build.object}inserting.$(mode) %s", progress, sourcefile) + cprint("${color.build.progress}[%3d%%]: ${clear}${color.build.object}inserting.$(mode) %s", progress, sourcefile) end -- trace verbose info @@ -66,9 +66,9 @@ function _build_from_static(target, sourcefile, objectfile, progress) -- trace progress info if verbose then - cprint("${color.build.progress}[%3d%%]: ${color.build.object.verbose}inserting.$(mode) %s", progress, sourcefile) + cprint("${color.build.progress}[%3d%%]: ${clear}${color.build.object.verbose}inserting.$(mode) %s", progress, sourcefile) else - cprint("${color.build.progress}[%3d%%]: ${color.build.object}inserting.$(mode) %s", progress, sourcefile) + cprint("${color.build.progress}[%3d%%]: ${clear}${color.build.object}inserting.$(mode) %s", progress, sourcefile) end -- trace verbose info @@ -120,9 +120,9 @@ function _do_build_file(target, sourcefile, opt) -- trace progress info if verbose then - cprint("${color.build.progress}[%3d%%]:${color.build.object.verbose} %scompiling.$(mode) %s", progress, _g.ccache and "ccache " or "", sourcefile) + cprint("${color.build.progress}[%3d%%]:${clear}${color.build.object.verbose} %scompiling.$(mode) %s", progress, _g.ccache and "ccache " or "", sourcefile) else - cprint("${color.build.progress}[%3d%%]:${color.build.object} %scompiling.$(mode) %s", progress, _g.ccache and "ccache " or "", sourcefile) + cprint("${color.build.progress}[%3d%%]:${clear}${color.build.object} %scompiling.$(mode) %s", progress, _g.ccache and "ccache " or "", sourcefile) end -- trace verbose info -- cgit v1.3.1