mirror of
https://github.com/pesde-pkg/tooling.git
synced 2025-03-04 02:51:47 +00:00
fix(lib): write progress bar cleanup ANSI sequences to stderr
This commit is contained in:
parent
a6074b790f
commit
283db5df4a
1 changed files with 1 additions and 1 deletions
|
@ -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<nil, string>
|
||||
|
|
Loading…
Add table
Reference in a new issue