Skip to content

Commit c1b3d34

Browse files
authored
PromptLogger: Clean lines that contain a tab character (#4173)
Fix #4171
1 parent a4ee7f8 commit c1b3d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/util/src/mill/util/PromptLogger.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ private[mill] object PromptLogger {
300300
// https://stackoverflow.com/questions/71452837/how-to-reduce-flicker-in-terminal-re-drawing
301301
dest.write(
302302
new String(buf, 0, end)
303-
.replaceAll("(\r\n|\n)", AnsiNav.clearLine(0) + "$1")
303+
.replaceAll("(\r\n|\n|\t)", AnsiNav.clearLine(0) + "$1")
304304
.getBytes
305305
)
306306
}

0 commit comments

Comments
 (0)