]> granicus.if.org Git - procps-ng/commit
top: fix a minor startup flaw for the '2 abreast' mode
authorJim Warner <james.warner@comcast.net>
Sun, 31 May 2020 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Thu, 4 Jun 2020 10:16:21 +0000 (20:16 +1000)
commitf0fb35b6459f040b70be571892612e5e66d5bb18
treeb57c67a27c0bafbb5f1c0c5e82f1c429fee0254b
parentf73d8d180fa277f57b7acb3681a770d84cab85df
top: fix a minor startup flaw for the '2 abreast' mode

This ensures that a single '4' keystroke will reliably
toggle the new 2 abreast mode ON. Depending on whether
an older configuration file existed or whether top was
configured with '--disable-modern-top', keying the '4'
for a second time might otherwise have been necessary.

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