diff options
Diffstat (limited to 'gui/console.cpp')
-rw-r--r-- | gui/console.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/console.cpp b/gui/console.cpp index 9ac9cf09e1..f412ca4fa0 100644 --- a/gui/console.cpp +++ b/gui/console.cpp @@ -386,17 +386,21 @@ void ConsoleDialog::handleKeyDown(Common::KeyState state) { draw(); break; case Common::KEYCODE_UP: + case Common::KEYCODE_KP8: historyScroll(+1); break; case Common::KEYCODE_DOWN: + case Common::KEYCODE_KP2: historyScroll(-1); break; case Common::KEYCODE_RIGHT: + case Common::KEYCODE_KP6: if (_currentPos < _promptEndPos) _currentPos++; drawLine(pos2line(_currentPos)); break; case Common::KEYCODE_LEFT: + case Common::KEYCODE_KP4: if (_currentPos > _promptStartPos) _currentPos--; drawLine(pos2line(_currentPos)); |