Merge 1cdbbf1957a62fce58b4ca4c5ac10d3603d26902 into 91368b665518b9ceecf7240ed93c1078bfa54447

This commit is contained in:
Michal Fudala 2026-02-13 09:21:21 +01:00 committed by GitHub
commit 2973f82d76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -170,6 +170,7 @@ function transformReporterPlugin(
}
function writeLine(output: string): void {
if (!process.stdout.isTTY) return
clearLine()
if (output.length < process.stdout.columns) {
process.stdout.write(output)
@ -179,6 +180,7 @@ function writeLine(output: string): void {
}
function clearLine(move: number = 0): void {
if (!process.stdout.isTTY) return
if (move < 0) {
process.stdout.moveCursor(0, move)
}