Changeset 6181
- Timestamp:
- Nov 29, 2009, 10:48:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/core/IOConsole.cc
r6180 r6181 398 398 this->cout_ << "\033[K"; 399 399 // Reprint the last output line 400 this->printOutputLine(this->shell_->getNewestLineIterator()->first );400 this->printOutputLine(this->shell_->getNewestLineIterator()->first, this->shell_->getNewestLineIterator()->second); 401 401 // Restore cursor 402 402 this->cout_ << "\033[u"; … … 416 416 // Print the new output lines 417 417 for (int i = 0; i < newLines; ++i) 418 this->printOutputLine(this->shell_->getNewestLineIterator()->first.substr(i*this->terminalWidth_, this->terminalWidth_)); 418 { 419 Shell::LineList::const_iterator it = this->shell_->getNewestLineIterator(); 420 this->printOutputLine(it->first.substr(i*this->terminalWidth_, this->terminalWidth_), it->second); 421 } 419 422 // Move cursor down 420 423 this->cout_ << "\033[1B\033[1G";
Note: See TracChangeset
for help on using the changeset viewer.