public static function getWidth()
    {
        $width = getenv('COLUMNS');
        if ($width !== false) {
            return (int) trim($width);
        }

        static::updateDimensions();

        return static::$width;
    }
public static function getWidth()
    {
        $width = getenv('COLUMNS');
        if ($width !== false) {
            return (int) trim($width);
        }

        static::updateDimensions();

        return static::$width;
    }
public static function getWidth ( ) { $ width = getenv ( 'COLUMNS' ) ; if ( $ width !== false ) { return ( int ) trim ( $ width ) ; } static :: updateDimensions ( ) ; return static :: $ width ; }
Returns the Terminal's width.

@return int
Returns the Terminal s width .