Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6181


Ignore:
Timestamp:
Nov 29, 2009, 10:48:25 PM (15 years ago)
Author:
rgrieder
Message:

Fixed Linux IOConsole

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/core/IOConsole.cc

    r6180 r6181  
    398398        this->cout_ << "\033[K";
    399399        // Reprint the last output line
    400         this->printOutputLine(this->shell_->getNewestLineIterator()->first);
     400        this->printOutputLine(this->shell_->getNewestLineIterator()->first, this->shell_->getNewestLineIterator()->second);
    401401        // Restore cursor
    402402        this->cout_ << "\033[u";
     
    416416        // Print the new output lines
    417417        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        }
    419422        // Move cursor down
    420423        this->cout_ << "\033[1B\033[1G";
Note: See TracChangeset for help on using the changeset viewer.