This commit is contained in:
2026-01-25 17:05:16 +08:00
parent a12a462fab
commit c0e6d3e7f1
3 changed files with 11 additions and 11 deletions

View File

@@ -532,7 +532,7 @@ export class ProcessBar {
stop(clearLine?: boolean): void {
if (this.interval) {
clearInterval(this.interval);
process.stderr.write(clearLine ? "\r" : "\n");
process.stderr.write(clearLine ? "\r\x1b[K" : "\n");
}
}
}