X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/43f639f1fdbf9dd95236037d9291854559e92d92..f1614fb2f16c1e75c8dcef8a9d3e1e46cc236bee:/termcol.plp diff --git a/termcol.plp b/termcol.plp index e313856..9e9ad19 100644 --- a/termcol.plp +++ b/termcol.plp @@ -19,10 +19,10 @@ $header{content_type} = 'text/html; charset=utf-8'; -
+%s | %s | %s', + return sprintf ' | %s | %s | %s'."\n", "background:#$rgb48; color:#$inverse", $id, "background:#000; color:#$rgb48", @@ -48,7 +48,7 @@ sub colcell { } my %col = ( - -name => [ + -html => [ qw/black maroon green olive navy purple cyan silver gray red lime yellow blue fuchsia aqua white/, qw/reset bold dim italic underline blink fastblink @@ -76,15 +76,77 @@ my %col = ( ], ); -my @termlist = qw(html cga xterm tango); -print ' |
'.$_} @termlist), " | ||
---|---|---|