Skip to content

Commit

Permalink
Add reverse and notreverse to ANSI reveal
Browse files Browse the repository at this point in the history
  • Loading branch information
scottchiefbaker committed Jun 1, 2021
1 parent 3bbab41 commit 31cdf3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions third_party/ansi-reveal/ansi-reveal.pl
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ sub dump_ansi {
$ret .= "[BOLD]";
} elsif ($p eq "0" || $p eq "") {
$ret .= "[RESET]";
} elsif ($p eq "7") {
$ret .= "[REVERSE]";
} elsif ($p eq "27") {
$ret .= "[NOTREV]";
} elsif ($p eq "38") {
my $next = $parts[$count + 1];
my $color = $parts[$count + 2];
Expand Down

0 comments on commit 31cdf3f

Please sign in to comment.