mothra: add home, end, imperfect pgup and pgdn
This commit is contained in:
parent
90925b8588
commit
430fd52489
1 changed files with 12 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue