Force flush when writing progress indicator.
This commit is contained in:
@@ -28,6 +28,7 @@ while true do
|
||||
local bytes = {string.byte(str, 1, -1)}
|
||||
device:writeExportFile(bytes)
|
||||
io.write(".")
|
||||
io.flush()
|
||||
end
|
||||
end
|
||||
io.write("\n")
|
||||
|
||||
@@ -27,6 +27,7 @@ while true do
|
||||
if #bytes > 0 then
|
||||
file:write(string.char(table.unpack(bytes)))
|
||||
io.write(".")
|
||||
io.flush()
|
||||
end
|
||||
end
|
||||
io.write("\n")
|
||||
|
||||
Reference in New Issue
Block a user