Skip to content

Commit bc9f7cc

Browse files
committed
This looks much better
1 parent b1fd47b commit bc9f7cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/ErrorsConsoleStyle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct(InputInterface $input, OutputInterface $output)
3030
public function table(array $headers, array $rows): void
3131
{
3232
/** @var int $terminalWidth */
33-
$terminalWidth = (new \Symfony\Component\Console\Terminal())->getWidth();
33+
$terminalWidth = (new \Symfony\Component\Console\Terminal())->getWidth() - 2;
3434
$maxHeaderWidth = strlen($headers[0]);
3535
foreach ($rows as $row) {
3636
$length = strlen($row[0]);

0 commit comments

Comments
 (0)