Application.php
public function getTerminalDimensions()
    {
        @trigger_error(sprintf('%s is deprecated as of 3.2 and will be removed in 4.0. Create a Terminal instance instead.', __METHOD__), E_USER_DEPRECATED);

        return array($this->terminal->getWidth(), $this->terminal->getHeight());
    }
public function getTerminalDimensions()
    {
        @trigger_error(sprintf('%s is deprecated as of 3.2 and will be removed in 4.0. Create a Terminal instance instead.', __METHOD__), E_USER_DEPRECATED);

        return array($this->terminal->getWidth(), $this->terminal->getHeight());
    }
public function getTerminalDimensions ( ) { @ trigger_error ( sprintf ( '%s is deprecated as of 3.2 and will be removed in 4.0. Create a Terminal instance instead.' , __METHOD__ ) , E_USER_DEPRECATED ) ; return array ( $ this -> terminal -> getWidth ( ) , $ this -> terminal -> getHeight ( ) ) ; }
Tries to figure out the terminal dimensions based on the current environment.

@return array Array containing width and height

@deprecated since version 3.2, to be removed in 4.0. Create a Terminal instance instead.
Tries to figure out the terminal dimensions based on the current environment .