diff options
| author | ruki <[email protected]> | 2025-11-20 00:47:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-11-20 00:47:39 +0800 |
| commit | 7aae7b19dc081cdc1e630406788425eb74bd9d4b (patch) | |
| tree | 55e655e107542d7311c7212d4b4ec57373e2368f /xmake/modules/utils/progress.lua | |
| parent | bb23918bcc9423cecc98275759d529adf41f4ca5 (diff) | |
add timer to progress when building
Diffstat (limited to 'xmake/modules/utils/progress.lua')
| -rw-r--r-- | xmake/modules/utils/progress.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xmake/modules/utils/progress.lua b/xmake/modules/utils/progress.lua index c8846e033..ff97a6d6c 100644 --- a/xmake/modules/utils/progress.lua +++ b/xmake/modules/utils/progress.lua @@ -388,6 +388,11 @@ function show_output(format, ...) end end +-- check if multirow refresh mode is enabled +function is_multirow() + return _is_multirow_refresh() +end + -- refresh the multirow progress display to update elapsed time -- this is useful for long-running tasks to keep the elapsed time updated function refresh() @@ -398,11 +403,6 @@ function refresh() end end --- check if multirow refresh mode is enabled -function is_multirow() - return _is_multirow_refresh() -end - -- abort the progress display mode, used for error exit or early termination -- this function cleans up the progress display area and restores the terminal state function show_abort() |
