mothra: add home, end, imperfect pgup and pgdn

This commit is contained in:
stanley lieber 2011-09-25 22:50:51 -05:00
parent 90925b8588
commit 430fd52489

View file

@ -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: