]> granicus.if.org Git - procps-ng/commit
top: add a visual separator to lines printed 2 abreast
authorJim Warner <james.warner@comcast.net>
Wed, 4 Aug 2021 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Fri, 6 Aug 2021 10:17:51 +0000 (20:17 +1000)
commit6eb9d4b5866d1dddb0168cf94a976f50c477ea7f
tree7009ff1b7a22fda355125ecd20936a9602ca6252
parent2e11351b6fc2f445fbfbfcedc196d6d9dac2c4f3
top: add a visual separator to lines printed 2 abreast

When the '4' toggle is on, and Summary Area %Cpu lines
are shown two abreast, it's not always clear where the
separation is between the two processors. So with this
patch we'll now print a vertical bar separator between
them (looking similar to the existing field headings).

We will also reduce that 'GRAPH_suffix' constant to 1,
reflecting the the trailing ']' bracket only, so as to
maximize top's exploitation of available screen width.

[ plus a superfluous double '+ +' has now been fixed ]

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