Skip to content

Commit 183c670

Browse files
committed
-Xprint-diff-del: make diffs more readable by using bold
1 parent 6ac9d10 commit 183c670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/util/DiffUtil.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ object DiffUtil {
112112
val (spaces, rest) = str.span(_ == '\n')
113113
if (spaces.isEmpty) {
114114
val (text, rest2) = str.span(_ != '\n')
115-
color + text + Console.RESET + bgColored(rest2, color)
115+
Console.BOLD + color + text + Console.RESET + bgColored(rest2, color)
116116
} else spaces + bgColored(rest, color)
117117
}
118118
}

0 commit comments

Comments
 (0)