FACT++  1.0
void Console::Startup ( )
virtual

Before readline starts flush the buffer to display all stuff which was buffered since the last readline call returned.

Reimplemented from Readline.

Definition at line 132 of file Console.cc.

References WindowLog::Display(), fLogI, fLogO, and Readline::Startup().

133 {
134  // Call readline's startup (just in case, it is empty)
136 
137  // First flush the buffer of the stream which is synchronous
138  // with the prompt
139  fLogI.Display(true);
140 
141  // Now flush the stream which is asychronous
142  fLogO.Display(true);
143 
144  // The order has the advantage that output initiated by the prompt
145  // is not interrupter by the synchronous stream
146 }
WindowLog fLogI
Definition: Console.h:38
WindowLog fLogO
Definition: Console.h:37
virtual void Startup()
Default: Do nothing.
Definition: Readline.cc:304
void Display(bool empty=false)
Display backlog.
Definition: WindowLog.cc:46

+ Here is the call graph for this function: