From: Jim Warner Date: Thu, 6 Dec 2012 06:00:00 +0000 (-0600) Subject: top: add inspect entry 'type' to alternate status line X-Git-Tag: v3.3.6~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b2b9a95e6ee628ac957851d8fa1cd343e8f0c01;p=procps-ng top: add inspect entry 'type' to alternate status line Signed-off-by: Jim Warner --- diff --git a/top/top.c b/top/top.c index 74490213..a4770911 100644 --- a/top/top.c +++ b/top/top.c @@ -2724,7 +2724,7 @@ static int insp_view_choice (proc_t *obj) { insp_find_str(key, &curcol, &curlin); break; case '=': - snprintf(buf, sizeof(buf), "%s", Insp_sel->fmts); + snprintf(buf, sizeof(buf), "%s: %s", Insp_sel->type, Insp_sel->fmts); INSP_MKSL(1, buf); // show an extended SL key = keyin(0); if (!key) return key; // oops, we got signaled