]> granicus.if.org Git - procps-ng/commit
top: apply a special emphasis with some focus elements
authorJim Warner <james.warner@comcast.net>
Wed, 18 May 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Fri, 20 May 2022 06:23:19 +0000 (16:23 +1000)
commit1dd27ba3fc2ddaaa3ee3bf41c7c26c38a155ad9d
treed5e629a6e3f1eccbbaa3dc6784cd2f08b099a096
parent304c4370bbf876fc2328f83b7f646480d9c13a91
top: apply a special emphasis with some focus elements

Since top now uses string vectors for two items in the
new focus window (cmdline & environ), there is no real
use for that 'separator' specified at toggle time. So,
this commit will find a new use for what is the space.

Henceforth, when a user is navigating using the tab or
backtab keys, should a strv element with focus contain
embedded space(s), it will be emphasized & highlighted
using the current window's message color (capclr_msg).

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