X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/917ba679115b9e3cd7b88f7e5081a1a2503a684e..364e4305f3856029471b6f41400e37e9f1dc9a62:/termcol.plp diff --git a/termcol.plp b/termcol.plp index 281d33c..5f89c3f 100644 --- a/termcol.plp +++ b/termcol.plp @@ -2,7 +2,7 @@ Html({ title => ($Request ? 'terminal colour' : 'colour palettes') . ' cheat sheet', - version => '1.2', + version => '1.4', description => [!$Request ? "Comparison of various colour palettes." : ( "Index of all terminal/console colour codes,", "with an example result of various environments.", @@ -16,7 +16,7 @@ Html({ }); my @draw = map { [$_, s/\W+\z//] } grep { $_ } split m(/), - $get{img} // exists $get{img} && 'indi.png'; + $get{img} // exists $get{img} && 'compile.png'; my @termlist; push @termlist, split /\W+/, $Request || 'default'; @@ -44,8 +44,7 @@ use Shiar_Sheet::Colour 1.04; use List::Util qw( min max ); use POSIX qw( ceil ); -my $palettes = do 'termcol.inc.pl'; -Abort("Cannot open palette data", 501, $_) for $@ || $! || (); +my $palettes = Data('termcol'); sub colcell { my $name = shift // return "\n";