]> granicus.if.org Git - procps-ng/commit
top: standardize PgUp/PgDn management within task area
authorJim Warner <james.warner@comcast.net>
Sat, 29 Jun 2019 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Thu, 4 Jul 2019 10:46:18 +0000 (20:46 +1000)
commit97e1264525cf381eb91f16062fe0dd75221d7d7c
tree9d72812b2320d9e5b7472069466bceecf6677d34
parente6a2931c395354d6eb21ac3cd0ccd6b070e3c617
top: standardize PgUp/PgDn management within task area

This commit standardizes the behavior of the PgUp/PgDn
keys when on the main top display. With PgDn, the last
process will become the first process. With PgUp, that
first task will now appear as the last task displayed.

[ this also eliminates some quirks that were evident ]
[ when paging at or near the end of the process list ]

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