mirror of
https://github.com/sxyazi/yazi.git
synced 2024-12-25 09:46:37 +03:00
feat: change status bar percent at 100 to Bot (#930)
This commit is contained in:
parent
ff14b9a265
commit
669373a030
@ -86,6 +86,8 @@ function Status:percentage()
|
|||||||
|
|
||||||
if percent == 0 then
|
if percent == 0 then
|
||||||
percent = " Top "
|
percent = " Top "
|
||||||
|
elseif percent == 100 then
|
||||||
|
percent = " Bot "
|
||||||
else
|
else
|
||||||
percent = string.format(" %3d%% ", percent)
|
percent = string.format(" %3d%% ", percent)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user