linux appears to be off by 118 for Term::Size
This commit is contained in:
parent
7c0d4c3f76
commit
8f8f027c11
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue