Skip to content

Commit

Permalink
For real don't count colors in length
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed Jul 28, 2017
1 parent 2eaa6f3 commit 1cb806b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Virtualmin/Config/Plugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ sub spin {
$count++;
$log->info($message);
$spinner = Term::Spinner::Color->new();
$message = $message . " " x (79 - length($message) - $spinner->{'last_size'});
$message = $message . " " x (79 - length($message) - $spinner->{'last_size'} + $color_correction);
print $message;
$spinner->auto_start();
}
Expand Down

0 comments on commit 1cb806b

Please sign in to comment.