소스 검색

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) {