mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
feat: change status bar percent at 100 to Bot (#930)
This commit is contained in:
parent
ff14b9a265
commit
669373a030
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue