From cd3eafb5d1662b268674cab2e29453bfe49257c4 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Wed, 2 Dec 2009 21:20:29 +0000 Subject: [PATCH 1/1] termcol: optional display of 256-colour space --- termcol.plp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/termcol.plp b/termcol.plp index 395c208..10d68ac 100644 --- a/termcol.plp +++ b/termcol.plp @@ -106,8 +106,9 @@ print "\n"; print ''; print colcell(80, ($_) x 3) for 46, 92, 115, 139, 162, 185, 208, 231; print "
\n\n"; -:> +:> +<: if ($ENV{PATH_INFO} =~ /256/) { :>
@@ -132,8 +133,9 @@ for my $row (0, 12) { print "\n"; } print "\n"; -:>
+:> +<: } :>