From 8b0e61523246b8b29bd88157bf892523a4a2068c Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 13 Apr 2017 23:23:28 +0200 Subject: [PATCH] Assume at least 80char wide terminal, fixes #6351 --- src/Composer/Command/ShowCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Composer/Command/ShowCommand.php b/src/Composer/Command/ShowCommand.php index bdc9f703c..c27f084a3 100644 --- a/src/Composer/Command/ShowCommand.php +++ b/src/Composer/Command/ShowCommand.php @@ -256,6 +256,8 @@ EOT } if (Platform::isWindows()) { $width--; + } else { + $width = max(80, $width); } if ($input->getOption('path') && null === $composer) {