summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.py')
-rw-r--r--src/gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui.py b/src/gui.py
index 0363026e..a1b1a117 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -321,11 +321,11 @@ class Gui(object):
self.refresh_window()
def scroll_page_down(self, args=None):
- self.current_room().scroll_down()
+ self.current_room().scroll_down(self.window.text_win.height-1)
self.refresh_window()
def scroll_page_up(self, args=None):
- self.current_room().scroll_up(self.window.size)
+ self.current_room().scroll_up(self.window.text_win.height-1)
self.refresh_window()
def room_error(self, room, error, msg):