projects
/
nethack-naodash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump version and update Changes
[nethack-naodash.git]
/
lib
/
App
/
NAOdash.pm
diff --git
a/lib/App/NAOdash.pm
b/lib/App/NAOdash.pm
index 78428a33e0eeb4e5c866d0012f8c9bb6d1a557b5..85a52709b034e372002af8b01c908f4cd5270ec1 100644
(file)
--- a/
lib/App/NAOdash.pm
+++ b/
lib/App/NAOdash.pm
@@
-6,7
+6,7
@@
use warnings;
use re '/saa';
use utf8;
use re '/saa';
use utf8;
-our $VERSION = '0.00
1
';
+our $VERSION = '0.00
2
';
use Encode qw/encode/;
use File::Slurp;
use Encode qw/encode/;
use File::Slurp;
@@
-85,9
+85,10
@@
EOF
my $rst = RESET;
for my $check (@order) {
my $rst = RESET;
for my $check (@order) {
- my $color = (grep { $_ eq $check } @checks) ? GREEN
'✓' : RED '✗'
;
+ my $color = (grep { $_ eq $check } @checks) ? GREEN
UNDERLINE : RED
;
$base =~ s/#([a-zA-Z-]+)/$color$1$rst/;
}
$base =~ s/#([a-zA-Z-]+)/$color$1$rst/;
}
+ $base =~ s/([A-Z ]+)\n=*/BOLD($1).RESET/ge;
$base
}
$base
}
@@
-129,8
+130,8
@@
It defines two functions:
=item B<naodash_to_ansi>(I<$stats>)
Takes the result of B<naodash_user> or B<naodash_xlog> and presents it
=item B<naodash_to_ansi>(I<$stats>)
Takes the result of B<naodash_user> or B<naodash_xlog> and presents it
-in a text form, using ANSI
color escape sequences and unicode ticks
-
(✓) and X marks (✗) to indicate the
presence/absence of checks.
+in a text form, using ANSI
escape sequences to indicate the
+presence/absence of checks.
=item B<run>(I<$user_or_path>)
=item B<run>(I<$user_or_path>)
This page took
0.010207 seconds
and
4
git commands to generate.