Skip to content

Commit 4910572

Browse files
Reset the color after a horizontal line to address #360
1 parent 6c1989f commit 4910572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff-so-fancy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ sub horizontal_rule {
594594
}
595595

596596
# Draw the line
597-
my $ret = $color . ($dash x $width) . "\n";
597+
my $ret = $color . ($dash x $width) . "$reset_color\n";
598598

599599
return $ret;
600600
}

0 commit comments

Comments
 (0)