Skip to content

Commit

Permalink
Merge pull request #5391 from jinke18/dev-jk3
Browse files Browse the repository at this point in the history
fixbug: crush when using non-scroll output theme like ninja
  • Loading branch information
waruqi authored Jul 24, 2024
2 parents 78b4b74 + 273c887 commit 039cd57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/modules/private/utils/batchcmds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function _show(showtext, progress)
local split = msg:split(sep, {plain = true, strict = true})
cprintf(table.concat(split, "..."))
end
if math.floor(progress) == 100 then
if math.floor(progress:percent()) == 100 then
print("")
_g.showing_without_scroll = false
else
Expand Down

0 comments on commit 039cd57

Please sign in to comment.