summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/windows.py b/src/windows.py
index 479ec797..9ce03fa4 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -111,10 +111,10 @@ class UserList(Win):
}
def scroll_up(self):
- self.pos += 4
+ self.pos += self.height-1
def scroll_down(self):
- self.pos -= 4
+ self.pos -= self.height-1
if self.pos < 0:
self.pos = 0