From ceda1b69f092c1dc883267e5d9d9f5f751f905b1 Mon Sep 17 00:00:00 2001 From: Paul Emmerich Date: Mon, 26 Feb 2024 22:49:05 +0100 Subject: [PATCH] Flush stdout in check progress indicator stdout is often line-buffered and needs flushing for the progress indicator to work --- script/cli/check.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/script/cli/check.lua b/script/cli/check.lua index 146035b62..0a0bf6947 100644 --- a/script/cli/check.lua +++ b/script/cli/check.lua @@ -84,6 +84,7 @@ lclient():start(function (client) .. ('0'):rep(#tostring(max) - #tostring(i)) .. tostring(i) .. '/' .. tostring(max) io.write(output) + io.flush() end end io.write('\x0D')