From dab3a79e2d478b8b02bd2efc34a0fe7d5d968c2c Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Mon, 26 Oct 2015 17:07:50 +0100 Subject: [PATCH] termcol: show incompatible palettes on ?v option --- termcol.plp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/termcol.plp b/termcol.plp index c3bdbd2..be514c3 100644 --- a/termcol.plp +++ b/termcol.plp @@ -171,7 +171,9 @@ my %col = ( ], ); -for my $term (qw/cga xterm tango app html xkcd/) { +my @termlist = qw( cga xterm tango app html xkcd ); +push @termlist, qw( c64 msx2 mac2 risc game ) if exists $get{v}; +for my $term (@termlist) { print '', "\n"; printf "\n", $col{$term}[0] || $term; for my $num (1 .. $#{ $col{$term} }) { -- 2.30.0
%s