From eff606238ed93a22da0b9e8e587db629ef334e7b Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sun, 1 Nov 2015 17:22:58 +0100 Subject: [PATCH 1/1] termcol: omit backgrounded sample cells for msx transparancy --- termcol.plp | 1 + 1 file changed, 1 insertion(+) diff --git a/termcol.plp b/termcol.plp index c58670c..acfe2be 100644 --- a/termcol.plp +++ b/termcol.plp @@ -91,6 +91,7 @@ for my $term (@termlist) { for my $num (0 .. $#{$colours}) { my ($rgb, $name) = split /:/, $colours->[$num], 3; $name ||= $num; + $name = [ $name, [] ] if $term =~ /^msx/ and !$num; $name = [ $name, ['#333'] ] if $term eq 'xkcd'; print '', colcell($name, $rgb); } -- 2.30.0