From 283db5df4a8873c2fc0e16d028b5d68014854bd9 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Wed, 5 Feb 2025 13:31:52 +0530 Subject: [PATCH] fix(lib): write progress bar cleanup ANSI sequences to stderr --- toolchainlib/src/utils/progress.luau | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchainlib/src/utils/progress.luau b/toolchainlib/src/utils/progress.luau index cf0679c..9d25637 100644 --- a/toolchainlib/src/utils/progress.luau +++ b/toolchainlib/src/utils/progress.luau @@ -78,7 +78,7 @@ function ProgressBar.stop(self: ProgressBarImpl): () -- Trigger upvalue, kill thread and clean progress bar remnant self.finished = true task.cancel(self.thread :: thread) - stdio.write("\x1b[2K\x1b[0G") + stdio.ewrite("\x1b[2K\x1b[0G") end function ProgressBar.nextStage(self: ProgressBarImpl): Result