]> granicus.if.org Git - procps-ng/commit
top: rework bottom 'window' logic to reduce redundancy
authorJim Warner <james.warner@comcast.net>
Wed, 25 May 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Thu, 26 May 2022 07:36:29 +0000 (17:36 +1000)
commitef1d82cf1814c11e05da998bcef2834e23609c1f
tree1c16588268aac39bbb8e9c2517efd1cd6c7800a5
parent6e661d2724a263314076c73239eb367122c28954
top: rework bottom 'window' logic to reduce redundancy

This patch attempts to reduce the proliferation of the
bottom window support routines by combining the 'misc'
with 'item' functions. Along the way we can now rename
those two 'pick' functions 'menu' while keeping proper
alphabetic order among all the bottom window routines.

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