diff options
| author | ruki <[email protected]> | 2021-09-18 12:07:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-18 12:07:22 +0800 |
| commit | e6142baeb6b089b3413755d4a3a9e4607cb829f1 (patch) | |
| tree | 076c390cde8afba3ec7cce741ba6577776275fe5 /xmake/modules/private/utils/progress.lua | |
| parent | a6999bf6567e9ef6c01a37984a3f67cfa59de51d (diff) | |
improve progress
Diffstat (limited to 'xmake/modules/private/utils/progress.lua')
| -rw-r--r-- | xmake/modules/private/utils/progress.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/private/utils/progress.lua b/xmake/modules/private/utils/progress.lua index 5c08cbf8f..635d1ef73 100644 --- a/xmake/modules/private/utils/progress.lua +++ b/xmake/modules/private/utils/progress.lua @@ -75,6 +75,7 @@ end -- show the message with process function show(progress, format, ...) + progress = math.floor(progress) local progress_prefix = "${color.build.progress}" .. theme.get("text.build.progress_format") .. ":${clear} " if option.get("verbose") then cprint(progress_prefix .. "${dim}" .. format, progress, ...) |
