top: modify 'Ctrl' bottom window 'str' use with 'strv' <=== port of newlib 73b4f113

______________________________ original newlib message

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>
This commit is contained in:
Jim Warner
2022-06-15 00:00:00 -05:00
committed by Craig Small
parent 203d75e323
commit 5b2cfd607b
2 changed files with 85 additions and 29 deletions

View File

@@ -830,9 +830,10 @@ typedef struct WIN_t {
//atic void forest_excluded (WIN_t *q);
/*------ Special Separate Bottom Window support ------------------------*/
//atic void bot_do (const char *str, int focus);
//atic int bot_focus (const char *hdr, const char *str);
//atic int bot_focus_str (const char *hdr, const char *str);
//atic int bot_focus_strv (const char *hdr, const char **strv);
//atic void bot_item_show (void);
//atic void bot_item_toggle (enum pflag item, const char *name, char sep);
//atic void bot_item_toggle (int item, const char *name, char sep);
//atic char *bot_misc_hlp (proc_t *p);
//atic void bot_misc_show (void);
//atic void bot_misc_toggle (int what, char sep);