]> granicus.if.org Git - procps-ng/commit
top: treat all of those vertical scroll keys uniformly
authorJim Warner <james.warner@comcast.net>
Thu, 7 Jun 2018 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Sat, 9 Jun 2018 11:45:38 +0000 (21:45 +1000)
commit5705866fb698c8da3816ce57af264cd3f4bdf0c4
treed52d51a6b318844460e843f628c72123a44b22f7
parent19ec80bd416c570a70f2fa7fa7e84a2667d71a08
top: treat all of those vertical scroll keys uniformly

When not displaying all tasks (the 'i' toggle is off),
the concept of vertical scrolling has no real meaning.

However, only 2 keys (up/down) impacting that vertical
position were currently being disabled with this mode.

This patch will extend such treatment to the following
additional vertical impact keys: pgup,pgdn,home & end.

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c