Compare commits

...

3 Commits

3 changed files with 15 additions and 6 deletions

View File

@ -1,5 +1,12 @@
Revision history for Proc-ProcessTable-ncps
0.1.2 2020-12-30/05:00
- Now use ColorThemes::Standard.
- Fix --stats.
0.1.1 2020-10-04/03:30
- Update so it plays nicely with Text::ANSITable 0.600
0.1.0 2019-08-28/02:00
- Now use Proc::ProcessTable::InfoString.
- Document information symbols.

View File

@ -27,6 +27,7 @@ my %WriteMakefileArgs = (
'Statistics::Basic'=>'1.6611',
'List::Util'=>'0.0',
'Proc::ProcessTable::InfoString' => '0.0.1',
'ColorTheme::NoColor'=>'0.0',
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Proc-ProcessTable-ncps-*' },

View File

@ -17,11 +17,11 @@ Proc::ProcessTable::ncps - New Colorized(optional) PS, a enhanced version of PS
=head1 VERSION
Version 0.1.0
Version 0.1.2
=cut
our $VERSION = '0.1.0';
our $VERSION = '0.1.2';
=head1 SYNOPSIS
@ -230,8 +230,8 @@ sub run{
}
my $tb = Text::ANSITable->new;
$tb->border_style('Default::none_ascii');
$tb->color_theme('Default::no_color');
$tb->border_style('ASCII::None');
$tb->color_theme('NoColor');
#
# assemble the headers
@ -478,8 +478,9 @@ sub run{
my $stats='';
if ( $self->{stats} ){
my $stb = Text::ANSITable->new;
$stb->border_style('Default::none_ascii');
$stb->color_theme('Default::no_color');
#$stb->border_style('Default::none_ascii');
$stb->border_style('ASCII::None');
$stb->color_theme('NoColor');
#
# assemble the headers