latin: palm graffiti font placeholder
[sheet.git] / termcol.plp
index 8e61fe049516075e8df0b531cdadfe651ea708c7..86ccd4526ee67e9f33bb7221aa78641731b91bb7 100644 (file)
@@ -2,7 +2,7 @@
 
 Html({
        title => ($Request ? 'terminal colour' : 'colour palettes') . ' cheat sheet',
-       version => '1.1',
+       version => '1.2',
        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';
@@ -45,7 +45,7 @@ use List::Util qw( min max );
 use POSIX qw( ceil );
 
 my $palettes = do 'termcol.inc.pl';
-die "Cannot open palette data: $_\n" for $@ || $! || ();
+Abort("Cannot open palette data", 501, $_) for $@ || $! || ();
 
 sub colcell {
        my $name = shift // return "<td>\n";