mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
parent
c37be409a9
commit
759caf0f8f
2
Panel.c
2
Panel.c
@ -412,7 +412,7 @@ bool Panel_onKey(Panel* this, int key) {
|
||||
break;
|
||||
case KEY_NPAGE:
|
||||
this->selected += (this->h - 1);
|
||||
this->scrollV += (this->h - 1);
|
||||
this->scrollV = MIN(MAX(0, Vector_size(this->items) - this->h), this->selected - this->h);
|
||||
this->needsRedraw = true;
|
||||
break;
|
||||
case KEY_WHEELUP:
|
||||
|
Loading…
Reference in New Issue
Block a user