src/TerminalObject/Dynamic/Progress.php
protected function getBarStrLen()
    {
        if (!$this->bar_str_len) {
            // Subtract 10 because of the '> 100%' plus some padding, max 100
            $this->bar_str_len = min($this->util->width() - 10, 100);
        }

        return $this->bar_str_len;
    }
protected function getBarStrLen()
    {
        if (!$this->bar_str_len) {
            // Subtract 10 because of the '> 100%' plus some padding, max 100
            $this->bar_str_len = min($this->util->width() - 10, 100);
        }

        return $this->bar_str_len;
    }
protected function getBarStrLen ( ) { if ( ! $ this -> bar_str_len ) { // Subtract 10 because of the '> 100%' plus some padding, max 100 $ this -> bar_str_len = min ( $ this -> util -> width ( ) - 10 , 100 ) ; } return $ this -> bar_str_len ; }
Get the length of the bar string based on the width of the terminal window

@return integer
Get the length of the bar string based on the width of the terminal window