X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/803fc2946b1c6a3b876cabea90ebac62ca6e55a9..7cb543cf854f39f74b99666475272ac29d788da2:/termcol.plp diff --git a/termcol.plp b/termcol.plp index d4cd63f..f2dde7f 100644 --- a/termcol.plp +++ b/termcol.plp @@ -2,7 +2,7 @@ Html({ title => 'terminal colour cheat sheet', - version => '1.0', + version => '1.1', description => [ "Index of all terminal/console colour codes,", "with an example result of various environments.", @@ -35,14 +35,13 @@ print
<: -use 5.010; use Shiar_Sheet::Colour 1.04; use List::Util qw( min max ); use POSIX qw( ceil ); my $palettes = do 'termcol.inc.pl'; die "Cannot open palette data: $_\n" for $@ || $! || (); -my $more = do 'termcol-xcolor.inc.pl'; +my $more = do 'termcol-xcolor.inc.pl' || {}; $palettes = {%$palettes, %$more}; sub colcell {