diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 8096ada4..b12b114f 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -532,6 +532,22 @@ void Game::handleInput() } switch (event.key.keysym.sym) { + case SDLK_PAGEUP: + if (chatWindow->isVisible()) + { + chatWindow->scroll(-DEFAULT_CHAT_WINDOW_SCROLL); + used = true; + } + break; + + case SDLK_PAGEDOWN: + if (chatWindow->isVisible()) + { + chatWindow->scroll(DEFAULT_CHAT_WINDOW_SCROLL); + used = true; + } + break; + case SDLK_F1: // In-game Help if (helpWindow->isVisible()) |