Skip to content

Commit 5ad99c0

Browse files
Use the default diff-highlight colors. Addresses #374
1 parent 35095b6 commit 5ad99c0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/DiffHighlight.pm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ my $NULL = File::Spec->devnull();
1212
# Highlight by reversing foreground and background. You could do
1313
# other things like bold or underline if you prefer.
1414
our @OLD_HIGHLIGHT = (
15-
"\e[1;31m",
16-
"\e[1;31;48;5;52m",
17-
"\x1b[27m",
15+
"",
16+
"\e[7m",
17+
"\e[27m",
1818
);
1919
our @NEW_HIGHLIGHT = (
20-
"\e[1;32m",
21-
"\e[1;32;48;5;22m",
20+
$OLD_HIGHLIGHT[0],
21+
$OLD_HIGHLIGHT[1],
2222
$OLD_HIGHLIGHT[2],
2323
);
2424

0 commit comments

Comments
 (0)