forked from hkc/cc-stuff
FASTERRRRRRRR
This commit is contained in:
parent
135b606686
commit
e938f38ab1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue