From: Mischa POSLAWSKY Date: Mon, 21 Dec 2015 00:07:01 +0000 (+0100) Subject: termcol: specific ?order option (=ansi replaces ?v) X-Git-Tag: v1.9~54 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/ba83e7e0b2c57bce189f38625b513aa92d964577 termcol: specific ?order option (=ansi replaces ?v) Preparation to support other orders. --- diff --git a/termcol.plp b/termcol.plp index 92bc4f8..0068a78 100644 --- a/termcol.plp +++ b/termcol.plp @@ -128,7 +128,7 @@ for my $term (@termlist) { } if (my $palette = $info->{list}) { - my $order = $get{v} && 'ansiorder'; + my $order = $get{order} && $get{order}.'order'; my $colours = colorder($palette, $info->{$order} // $palettes->{ $info->{parent} }->{$order} );