top: enable alternate '+' placement with collapsed pid
authorJim Warner <james.warner@comcast.net>
Mon, 1 Oct 2018 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Wed, 2 Jan 2019 21:01:25 +0000 (08:01 +1100)
commitd8a0ab8bc1e033b4bccd39828c67cd2174e6b64d
treebeec60302e1731082f8bdba5f023ed5b2f0b2121
parent664d2517da6e29574f79ff3f0faecfae15d589eb
top: enable alternate '+' placement with collapsed pid

Currently, except for tasks that have no parents, when
a process' children are collapsed the '+' indicator is
shown in the first position within that COMMAND field.

This commit simply provides for indenting the '+' char
so it displays next to that program name/command line.

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