From e938f38ab1a16215d7dbfdd8d42449a7fd38890f Mon Sep 17 00:00:00 2001 From: hkc Date: Wed, 18 Oct 2023 00:55:17 +0300 Subject: [PATCH] FASTERRRRRRRR --- tape-rip.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tape-rip.lua b/tape-rip.lua index 55f50ba..027d91d 100644 --- a/tape-rip.lua +++ b/tape-rip.lua @@ -79,7 +79,7 @@ while not src.isEnd() do local pos, sz = src.getPosition(), src.getSize() term.setCursorPos(1, y) term.clearLine() - if (i % 10) == 0 then + if (i % 256) == 0 then textProgress(pos / sz, colors.green, colors.gray, "%7.3f%% %8d / %8d", pos * 100 / sz, pos, sz) os.sleep(0.01) end