From c75075ae9c9bbef8ab083547d9e02aed8da83580 Mon Sep 17 00:00:00 2001 From: hkc Date: Fri, 20 Oct 2023 04:07:36 +0300 Subject: [PATCH] Maybe make spinner slower instead..? --- mess/tmpc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mess/tmpc.lua b/mess/tmpc.lua index a910e08..6d139b2 100644 --- a/mess/tmpc.lua +++ b/mess/tmpc.lua @@ -380,7 +380,7 @@ function() local timeString = string.format("[%s:%s]", time2str(time), time2str(duration)) if drive.getState() ~= "STOPPED" then term.setTextColor(mplayer.colors.status) - local speen = spinner[(math.floor(drive.getPosition() / 600) % #spinner) + 1] + local speen = spinner[(math.floor(drive.getPosition() / 3000) % #spinner) + 1] local action = "" if drive.getState() == "PLAYING" then action = "Playing:" elseif drive.getState() == "REWINDING" then action = "Rewinding" @@ -418,7 +418,7 @@ function() term.setTextColor(mplayer.colors.status) term.setCursorPos(tw - #timeString + 1, th) term.write(timeString) - os.sleep(0.05) + os.sleep(0.1) end end, function()