public function getDrawString()
    {
        $output = $this->prompt;
        if ($this->echo !== false) {
            if ($this->echo === true) {
                $buffer = $this->linebuffer;
            } else {
                $buffer = str_repeat($this->echo, $this->strlen($this->linebuffer));
            }

            // write output, then move back $reverse chars (by sending backspace)
            $output .= $buffer . str_repeat("\x08", $this->strwidth($buffer) - $this->getCursorCell());
        }

        return $output;
    }
public function getDrawString()
    {
        $output = $this->prompt;
        if ($this->echo !== false) {
            if ($this->echo === true) {
                $buffer = $this->linebuffer;
            } else {
                $buffer = str_repeat($this->echo, $this->strlen($this->linebuffer));
            }

            // write output, then move back $reverse chars (by sending backspace)
            $output .= $buffer . str_repeat("\x08", $this->strwidth($buffer) - $this->getCursorCell());
        }

        return $output;
    }
public function getDrawString ( ) { $ output = $ this -> prompt ; if ( $ this -> echo !== false ) { if ( $ this -> echo === true ) { $ buffer = $ this -> linebuffer ; } else { $ buffer = str_repeat ( $ this -> echo , $ this -> strlen ( $ this -> linebuffer ) ) ; } // write output, then move back $reverse chars (by sending backspace) $ output .= $ buffer . str_repeat ( "\x08" , $ this -> strwidth ( $ buffer ) - $ this -> getCursorCell ( ) ) ; } return $ output ; }
Returns the string that is used to draw the input prompt

@return string
@internal
Returns the string that is used to draw the input prompt