summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/base/option.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/base/option.lua b/xmake/core/base/option.lua
index bae74b35a..bf6a9df68 100644
--- a/xmake/core/base/option.lua
+++ b/xmake/core/base/option.lua
@@ -991,14 +991,14 @@ function option.show_main()
-- append the task name
taskline = taskline .. taskname
- -- append color
- taskline = colors.translate("${color.menu.main.task.name}" .. taskline .. "${clear}")
-
-- append spaces
for i = (#taskline), padding do
taskline = taskline .. " "
end
+ -- append color
+ taskline = colors.translate("${color.menu.main.task.name}" .. taskline .. "${clear}")
+
-- append the task description
if taskinfo.description then
taskline = option._inwidth_append(taskline, taskinfo.description, padding + 1 - 18, console_width, console_width - padding - 1 + 18)