diff options
Diffstat (limited to 'xmake/plugins')
| -rw-r--r-- | xmake/plugins/format/main.lua | 11 | ||||
| -rw-r--r-- | xmake/plugins/repo/main.lua | 2 |
2 files changed, 3 insertions, 10 deletions
diff --git a/xmake/plugins/format/main.lua b/xmake/plugins/format/main.lua index 7a4c53394..f527b6c00 100644 --- a/xmake/plugins/format/main.lua +++ b/xmake/plugins/format/main.lua @@ -219,16 +219,9 @@ function main() local runjobs_opt = { total = #sourcefiles, comax = jobs, - showtips = false + showtips = false, + progress_refresh = true } - -- Only set timer for multirow progress mode - if progress.is_multirow() then - runjobs_opt.timeout = 1000 - runjobs_opt.on_timer = function (running_indices) - -- Periodically refresh multirow progress to update elapsed time - progress.refresh() - end - end runjobs("clang-format", function (index, total, opt) local sourcefile = sourcefiles[index] local format_argv = table.join(argv, {sourcefile}) diff --git a/xmake/plugins/repo/main.lua b/xmake/plugins/repo/main.lua index 40dad5c20..f11e350c5 100644 --- a/xmake/plugins/repo/main.lua +++ b/xmake/plugins/repo/main.lua @@ -150,7 +150,7 @@ function _update() if option.get("verbose") then task() else - runjobs("update repo", task, {progress = true, isolate = true}) + runjobs("update repo", task, {waiting_indicator = true, isolate = true}) end -- leave environment |
