diff --git a/src/Symfony/Component/Console/Application.php b/src/Symfony/Component/Console/Application.php index f0129d5a9a9bc..708d03b919655 100644 --- a/src/Symfony/Component/Console/Application.php +++ b/src/Symfony/Component/Console/Application.php @@ -104,6 +104,9 @@ public function setDispatcher(EventDispatcherInterface $dispatcher) */ public function run(InputInterface $input = null, OutputInterface $output = null) { + putenv('LINES='.$this->terminal->getHeight()); + putenv('COLUMNS='.$this->terminal->getWidth()); + if (null === $input) { $input = new ArgvInput(); }