Преглед на файлове

Assume at least 80char wide terminal, fixes #6351

Jordi Boggiano преди 8 години
родител
ревизия
8b0e615232
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      src/Composer/Command/ShowCommand.php

+ 2 - 0
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) {