X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/35d85fc1c8ac6aa801bdd6436e44efb80d689a25..f1ad2d8f64690870d6bb4977b04202083797d6a2:/termcol.plp diff --git a/termcol.plp b/termcol.plp index 6d69f0c..8e61fe0 100644 --- a/termcol.plp +++ b/termcol.plp @@ -175,7 +175,7 @@ sub coltable { my $num = $row + $col * $rows; my ($rgb, $name) = split /:/, $colours->[$num], 3; $name //= $rgb && $num; - $name = [ $name, [] ] if $term =~ /^msx/ and !$num; + $name = [ $name, [] ] if $term =~ /^msx/ and !$name; # no bg for transparency $name = [ $name, ['#333'] ] if $term eq 'xkcd'; print colcell($name, $rgb); }