public function setPrompt($prompt)
    {
        if ($prompt === $this->prompt) {
            return $this;
        }

        $this->prompt = $prompt;

        return $this->redraw();
    }
public function setPrompt($prompt)
    {
        if ($prompt === $this->prompt) {
            return $this;
        }

        $this->prompt = $prompt;

        return $this->redraw();
    }
public function setPrompt ( $ prompt ) { if ( $ prompt === $ this -> prompt ) { return $ this ; } $ this -> prompt = $ prompt ; return $ this -> redraw ( ) ; }
prompt to prepend to input line

Will redraw the current input prompt with the current input buffer.

@param string $prompt
@return self
@uses self::redraw()
prompt to prepend to input line