Skip to content

Commit 6ade9be

Browse files
Merge pull request #3580 from dotty-staging/chage-diff-color-format
Change -Xprint-diff color to foreground
2 parents 3996325 + 09a83c5 commit 6ade9be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ object DiffUtil {
104104
}.mkString
105105
}
106106

107-
private def added(str: String): String = bgColored(str, Console.GREEN_B)
108-
private def deleted(str: String) = bgColored(str, Console.RED_B)
107+
private def added(str: String): String = bgColored(str, Console.GREEN)
108+
private def deleted(str: String) = bgColored(str, Console.RED)
109109
private def bgColored(str: String, color: String): String = {
110110
if (str.isEmpty) ""
111111
else {

0 commit comments

Comments
 (0)