FACT++  1.0
void Console::Run ( const char *  = 0)
virtual

Before Readline::Run() is called the buffer is flushed as well as after the Run() loop has exited. command processing. This keeps things as seperated as possible, although there is no gurantee.

Reimplemented from Readline.

Definition at line 188 of file Console.cc.

References WindowLog::Display(), fLogI, fLogO, Readline::GetName(), ReadlineColor::PrintBootMsg(), and Readline::Run().

189 {
190  // Flush the buffer before we print the boot message
191  fLogO.Display(true);
192 
194 
195  // Flush the buffer before we start out readline loop
196  fLogI.Display(true);
197  fLogO.Display(true);
198 
199  // Now run readlines main loop
200  Readline::Run();
201 
202  // flush buffer to display
203  fLogI.Display(true);
204  fLogO.Display(true);
205 }
WindowLog fLogI
Definition: Console.h:38
virtual void Run(const char *prompt=0)
Definition: Readline.cc:1406
WindowLog fLogO
Definition: Console.h:37
bool PrintBootMsg(std::ostream &out, const std::string &name, bool interactive=true)
void Display(bool empty=false)
Display backlog.
Definition: WindowLog.cc:46
std::string GetName() const
Definition: Readline.h:88

+ Here is the call graph for this function: