termcol: reorder arne to match ansi better
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 31 Oct 2015 15:51:30 +0000 (16:51 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Sat, 31 Oct 2015 15:51:30 +0000 (16:51 +0100)
termcol.plp

index a0fe5060d519398e8955f7425b669d05216b132f..c2e66b9603cb9c5221ea4f0b1c623224f0efe066 100644 (file)
@@ -171,6 +171,14 @@ my %col = (
        ],
 );
 
+if ($get{v}) {
+       # reorder by brightness
+       $col{arnegame} = [
+               map { $col{arnegame}[$_ + 1] }
+               qw/ -1  0 5 9 12  3 6 10 13 1  4 7 8 11 14 15 2 /
+       ];
+}
+
 my @termlist = qw( cga xterm tango app html xkcd );
 push @termlist, qw( c64 msx2 mac2 risc arnegame ) if exists $get{v};
 for my $term (@termlist) {