Changeset 6379 for code/branches/presentation2/src
- Timestamp:
- Dec 18, 2009, 3:16:31 PM (15 years ago)
- Location:
- code/branches/presentation2/src/libraries/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/core/IOConsole.cc
r6375 r6379 124 124 std::cout.flush(); 125 125 if (!this->origCout_.str().empty()) 126 this->shell_->addOutput Line(this->origCout_.str(), Shell::None);126 this->shell_->addOutput(this->origCout_.str(), Shell::None); 127 127 // Erase input and status lines 128 128 this->cout_ << "\033[1G\033[J"; -
code/branches/presentation2/src/libraries/core/Shell.cc
r6375 r6379 161 161 162 162 for (unsigned int i = instance.historyOffset_; i < instance.commandHistory_.size(); ++i) 163 instance.addOutput Line(instance.commandHistory_[i], -1);163 instance.addOutput(instance.commandHistory_[i] + '\n', -1); 164 164 for (unsigned int i = 0; i < instance.historyOffset_; ++i) 165 instance.addOutput Line(instance.commandHistory_[i], -1);165 instance.addOutput(instance.commandHistory_[i] + '\n', -1); 166 166 } 167 167 */
Note: See TracChangeset
for help on using the changeset viewer.