FACT++  1.0
void Readline::UpdatePrompt ( const std::string &  prompt) const

Calls rl_set_prompt. This can be used from readline's callback function to change the prompt while a call to the readline function is in progress.

Parameters
promptThe new prompt to be shown

Definition at line 608 of file Readline.cc.

609 {
610  rl_set_prompt(prompt.c_str());
611 }