summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2016-02-29 22:03:45 -0300
committerHisham Muhammad <hisham@gobolinux.org>2016-02-29 22:03:45 -0300
commit63c55854e59250f44006445b24bf6168064e2426 (patch)
tree85051902243fa709d1d55b1243b0b7a8998f3751
parent4f1bd232d81bd75f923acaa4f200c623871e3384 (diff)
parent0a4a447d0d4f30848eaeb6ce242a405360ab8818 (diff)
Merge pull request #388 from mhinz/add-p-to-help
Add "p" to Help
-rw-r--r--Action.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Action.c b/Action.c
index 3b3c3b05..3fc22177 100644
--- a/Action.c
+++ b/Action.c
@@ -387,6 +387,7 @@ static struct { const char* key; const char* info; } helpLeft[] = {
{ .key = " F3 /: ", .info = "incremental name search" },
{ .key = " F4 \\: ",.info = "incremental name filtering" },
{ .key = " F5 t: ", .info = "tree view" },
+ { .key = " p: ", .info = "toggle program path" },
{ .key = " u: ", .info = "show processes of a single user" },
{ .key = " H: ", .info = "hide/show user process threads" },
{ .key = " K: ", .info = "hide/show kernel threads" },
@@ -479,8 +480,8 @@ static Htop_Reaction actionHelp(State* st) {
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");
+ mvaddstr(16, 32, "threads");
+ mvaddstr(17, 26, "threads");
attrset(CRT_colors[DEFAULT_COLOR]);
attrset(CRT_colors[HELP_BOLD]);