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; } }