FACT++  1.0
string Console::GetLinePrompt ( ) const
virtual
Returns
a string containing [{fLine}]

Reimplemented from Readline.

Definition at line 172 of file Console.cc.

References fContinous, fLogO, Readline::GetLine(), WindowLog::GetSizeStr(), and str.

173 {
174  const string siz = fLogO.GetSizeStr();
175 
176  ostringstream str;
177  str << '[' << GetLine();
178  return fContinous ? str.str()+']' : str.str()+':'+siz+']';
179 }
int GetLine() const
Definition: Readline.h:121
bool fContinous
Definition: Console.h:40
char str[80]
Definition: test_client.c:7
std::string GetSizeStr() const
Definition: WindowLog.cc:278
WindowLog fLogO
Definition: Console.h:37

+ Here is the call graph for this function: