summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
authorHisham <hisham@gobolinux.org>2016-02-02 16:39:08 +0100
committerHisham <hisham@gobolinux.org>2016-02-02 16:39:08 +0100
commitc148907e7b5bf695557413c5a3da2d48ccf056b4 (patch)
tree58ee27add84a85ce6eed686ec29e6a8bc53642eb /Action.c
parent820c079b14ed9bb1755a0a68e02b450d027b8191 (diff)
Try to make threads less confusing.
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/Action.c b/Action.c
index e53f5688..4ef06f48 100644
--- a/Action.c
+++ b/Action.c
@@ -388,7 +388,7 @@ static struct { const char* key; const char* info; } helpLeft[] = {
{ .key = " F4 \\: ",.info = "incremental name filtering" },
{ .key = " F5 t: ", .info = "tree view" },
{ .key = " u: ", .info = "show processes of a single user" },
- { .key = " H: ", .info = "hide/show user threads" },
+ { .key = " H: ", .info = "hide/show user process threads" },
{ .key = " K: ", .info = "hide/show kernel threads" },
{ .key = " F: ", .info = "cursor follows process" },
{ .key = " F6 + -: ", .info = "expand/collapse tree" },
@@ -478,6 +478,10 @@ static Htop_Reaction actionHelp(State* st) {
attrset(CRT_colors[HELP_BOLD]);
for (int i = 0; helpLeft[i].key; i++) { mvaddstr(9+i, 0, helpLeft[i].key); }
for (int i = 0; helpRight[i].key; i++) { mvaddstr(9+i, 40, helpRight[i].key); }
+ attrset(CRT_colors[PROCESS_THREAD]);
+ mvaddstr(15, 32, "threads");
+ mvaddstr(16, 26, "threads");
+ attrset(CRT_colors[DEFAULT_COLOR]);
attrset(CRT_colors[HELP_BOLD]);
mvaddstr(23,0, "Press any key to return.");

© 2014-2024 Faster IT GmbH | imprint | privacy policy