From 669373a030bb2a585281a0176b6f22032e737099 Mon Sep 17 00:00:00 2001 From: AidanV <84053180+AidanV@users.noreply.github.com> Date: Fri, 19 Apr 2024 19:11:50 -0700 Subject: [PATCH] feat: change status bar percent at 100 to Bot (#930) --- yazi-plugin/preset/components/status.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yazi-plugin/preset/components/status.lua b/yazi-plugin/preset/components/status.lua index 1e9291e1..de3d4014 100644 --- a/yazi-plugin/preset/components/status.lua +++ b/yazi-plugin/preset/components/status.lua @@ -86,6 +86,8 @@ function Status:percentage() if percent == 0 then percent = " Top " + elseif percent == 100 then + percent = " Bot " else percent = string.format(" %3d%% ", percent) end