Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 22, 2009, 11:32:30 PM (15 years ago)
Author:
scheusso
Message:

added a new feature to the IOConsole: you can now search the history (like in bash shells) with PgUP
just enter a few signs/characters of a command you once typed in and press PgUP to complete the command
if the found command is not the one you were looking for just press PgUP again

File:
1 edited

Legend:

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

    r5985 r5986  
    127127                    this->buffer_->buttonPressed(KeyEvent(KeyCode::End,      0, 0));
    128128                else if (this->escapeSequence_ == "5~")
    129                     this->buffer_->buttonPressed(KeyEvent(KeyCode::PageUp,   0, 0));
     129                    this->buffer_->buttonPressed(KeyEvent(KeyCode::AltPageUp,   0, 0));
    130130                else if (this->escapeSequence_ == "6~")
    131                     this->buffer_->buttonPressed(KeyEvent(KeyCode::PageDown, 0, 0));
     131                    this->buffer_->buttonPressed(KeyEvent(KeyCode::AltPageDown, 0, 0));
    132132                else if (this->escapeSequence_.size() > 4)
    133133                    // User probably very quickly pressed ESC and [
Note: See TracChangeset for help on using the changeset viewer.