diff options
| author | ruki <[email protected]> | 2025-11-20 23:55:47 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-11-21 11:28:51 +0800 |
| commit | 2d5076fbba423d24300996773d1fb7ecfcd1b02b (patch) | |
| tree | e20f18af62ac437b8c5a7ad68d2d6e282211468d /xmake/plugins/format/main.lua | |
| parent | 0719de2b664bdfc82ce30534ed196bfc81fc072a (diff) | |
improve progress refresh timer
Diffstat (limited to 'xmake/plugins/format/main.lua')
| -rw-r--r-- | xmake/plugins/format/main.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/plugins/format/main.lua b/xmake/plugins/format/main.lua index 7a4c53394..768901f6b 100644 --- a/xmake/plugins/format/main.lua +++ b/xmake/plugins/format/main.lua @@ -221,14 +221,6 @@ function main() comax = jobs, showtips = false } - -- 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}) |
