diff --git a/sys/src/cmd/mothra/mothra.c b/sys/src/cmd/mothra/mothra.c index 93a27da7d..c7a8940e6 100644 --- a/sys/src/cmd/mothra/mothra.c +++ b/sys/src/cmd/mothra/mothra.c @@ -322,12 +322,24 @@ void main(int argc, char *argv[]){ adjkb(); plkeyboard(e.kbdc); break; + case Khome: + scrolltext(-text->size.y*1000); + break; case Kup: scrolltext(-text->size.y/4); break; + case Kpgup: + scrolltext(-text->size.y/3); + break; case Kdown: scrolltext(text->size.y/4); break; + case Kpgdown: + scrolltext(text->size.y/3); + break; + case Kend: + scrolltext(text->size.y*1000); + break; } break; case Emouse: