git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
16b530e
)
termcol: specific ?order option (=ansi replaces ?v)
author
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 21 Dec 2015 00:07:01 +0000
(
01:07
+0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 5 Jan 2016 00:05:07 +0000
(
01:05
+0100)
Preparation to support other orders.
termcol.plp
patch
|
blob
|
history
diff --git
a/termcol.plp
b/termcol.plp
index 92bc4f87d3d5aa69fc2d04ade2c3a200e45308ef..0068a78d7b5c73f998214891b79f52b53c10983b 100644
(file)
--- a/
termcol.plp
+++ b/
termcol.plp
@@
-128,7
+128,7
@@
for my $term (@termlist) {
}
if (my $palette = $info->{list}) {
- my $order = $get{
v} && 'ansi
order';
+ my $order = $get{
order} && $get{order}.'
order';
my $colours = colorder($palette,
$info->{$order} // $palettes->{ $info->{parent} }->{$order}
);