Skip to content

Commit 483d517

Browse files
authored
Add dim and underline as Select Graphic Rendition (#442)
1 parent 796daa4 commit 483d517

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

diff-so-fancy

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,14 @@ sub git_ansi_color {
910910
push(@ansi_part, "1");
911911
}
912912

913+
if (grep { /dim/ } @parts) {
914+
push(@ansi_part, "2");
915+
}
916+
917+
if (grep { /ul/ } @parts) {
918+
push(@ansi_part, "4");
919+
}
920+
913921
if (grep { /reverse/ } @parts) {
914922
push(@ansi_part, "7");
915923
}

0 commit comments

Comments
 (0)