aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/9term/9term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c
index 2827eb86..7efce4ad 100644
--- a/src/cmd/9term/9term.c
+++ b/src/cmd/9term/9term.c
@@ -561,10 +561,10 @@ mouse(void)
break;
*/
case 8:
- scrollup(3);
+ scrollup(mousescrollsize(t.f->maxlines));
break;
case 16:
- scrolldown(3);
+ scrolldown(mousescrollsize(t.f->maxlines));
break;
}
}