]> granicus.if.org Git - procps-ng/commit
top: modify 'Ctrl' bottom window 'str' use with 'strv'
authorJim Warner <james.warner@comcast.net>
Sun, 15 May 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Mon, 16 May 2022 10:06:18 +0000 (20:06 +1000)
commit73b4f1134fa588bc1f63edce969dd97a1ebd9ec9
tree68888d26946effa2a58e90f2594e4b6d56938f59
parentda36ff2b8d98680eda009e1f076f7b63a5b70edc
top: modify 'Ctrl' bottom window 'str' use with 'strv'

After satisfying increased buffer size in the previous
patch, I decided to improve the highlight accuracy for
both the command lines plus the environment variables.

Since they both may contain elements which themselves
include embedded spaces, to accomplish this goal, one
must trade vanilla strings for string vectors instead.

[ at last such library items have now been justified ]

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