diff options
| author | ruki <[email protected]> | 2025-10-29 23:58:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-10-29 23:58:15 +0800 |
| commit | d6255d98b9a09366d238e8579b18be9add773222 (patch) | |
| tree | af66755d792b12c4525812f88f12eca54392a804 /xmake/modules/core/tools/c51.lua | |
| parent | a2974bf870a7ef03a5cf7c5154d65bc5a38b18fa (diff) | |
add progress.show_output
Diffstat (limited to 'xmake/modules/core/tools/c51.lua')
| -rw-r--r-- | xmake/modules/core/tools/c51.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmake/modules/core/tools/c51.lua b/xmake/modules/core/tools/c51.lua index 0df971f8d..87a602fcc 100644 --- a/xmake/modules/core/tools/c51.lua +++ b/xmake/modules/core/tools/c51.lua @@ -119,10 +119,7 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt) lines = table.slice(lines, 1, (#lines > 16 and 16 or #lines)) end local warnings = table.concat(lines, "\n") - if progress.showing_without_scroll() then - print("") - end - cprint("${color.warning}%s", warnings) + progress.show_output("${color.warning}%s", warnings) end end end |
