private function countTermCols():int
    {
        if (!$this->termCols) {
            if (!($this->termCols = (int)exec('tput cols'))) {
                $this->termCols = 80;
            }
        }
        return $this->termCols;
    }
private function countTermCols():int
    {
        if (!$this->termCols) {
            if (!($this->termCols = (int)exec('tput cols'))) {
                $this->termCols = 80;
            }
        }
        return $this->termCols;
    }
private function countTermCols ( ) : int { if ( ! $ this -> termCols ) { if ( ! ( $ this -> termCols = ( int ) exec ( 'tput cols' ) ) ) { $ this -> termCols = 80 ; } } return $ this -> termCols ; }
Returns the number of columns in the terminal windows.

@return int
Returns the number of columns in the terminal windows .