Changeset 16869 for trunk/FACT++/src/Console.cc
- Timestamp:
- 06/19/13 17:09:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Console.cc
r14083 r16869 149 149 //! EventHook to update the prompt. 150 150 // 151 void Console::EventHook( )151 void Console::EventHook(bool) 152 152 { 153 153 // If the output is continous and we are going to output something … … 155 155 // doesn't work well if the input line is already two lines) 156 156 // and then flush the buffer. 157 if (fContinous && fLogO.GetSizeBacklog()>0) 157 const bool newline = fContinous && fLogO.GetSizeBacklog()>0; 158 if (newline) 158 159 { 159 160 // Clear the line we are going to overwrite … … 163 164 164 165 // Call Readline's EventHook to update the prompt 165 Readline::EventHook( );166 Readline::EventHook(newline); 166 167 } 167 168
Note:
See TracChangeset
for help on using the changeset viewer.