]> granicus.if.org Git - procps-ng/commit
top: add visual clue when focus toggle ('F') is active
authorJim Warner <james.warner@comcast.net>
Thu, 13 Jan 2022 19:13:13 +0000 (13:13 -0600)
committerCraig Small <csmall@dropbear.xyz>
Mon, 17 Jan 2022 09:27:21 +0000 (20:27 +1100)
commit292e831418107e4d0951c4e29f8033bb929e684f
tree4962dddda502e5a9ee90713905a3b07dc18af0a8
parent376d44d58081d34b68825c90ad890aa25208e92a
top: add visual clue when focus toggle ('F') is active

When in forest view mode, that focus toggle ('F') is a
useful tool occasionally. But, if a focused parent has
enough cloned siblings to exceed screen rows, it could
be hard to remember that such a toggle remains active.

So, this patch will provide a subtle visual clue added
to the leftmost position in the COMMAND column. Now if
the focus toggle was active, regardless of total tasks
affected, the users will always know when it's active.

Reference(s):
. 07/28/21, introduced new focus toggle ('F')
commit bdd50fa2fc00edb51f6125334d2329fdce12c4ba
. 09/23/21, ensure focused tasks stay focused
commit d7e6c27a7944fbaa1493f207fd521bd59984c955

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