linux appears to be off by 118 for Term::Size

This commit is contained in:
Zane C. B-H 2019-04-14 22:43:52 -05:00
parent 7c0d4c3f76
commit 8f8f027c11
1 changed files with 4 additions and 0 deletions

View File

@ -800,6 +800,10 @@ sub colorize{
#add 120 as Text::Table appears to be off by that much
$columns=$columns+128;
if ( $^O =~ 'linux' ){
$columns=$columns-12;
}
#this is
my $procwidth=$columns-$width;