]> granicus.if.org Git - procps-ng/commit
top: harden detailed stats two abreast summary display <=== port of newlib e5386f1f
authorJim Warner <james.warner@comcast.net>
Mon, 19 Sep 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Tue, 20 Sep 2022 09:34:40 +0000 (19:34 +1000)
commit5dc515a6fd4f6bd0d594170dcf32664123b0272e
tree980f824c311492064cdf0cbc0a5426ed8722579f
parentbd463189d734e9e99312c403c26725b3ff6d5958
top: harden detailed stats two abreast summary display <=== port of newlib e5386f1f

______________________________ original newlib message

When displaying detailed cpu statistics, as opposed to
those scalable graphs, only two per line can be shown.

Therefore, if we are showing a detail version, our '4'
toggle must prematurely revert to single mode display.

Conversely, the 't' toggle must also turn off that '4'
toggle rather than try to print more than 2 abreast if
we're currently executing in detailed statistics mode.

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