summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
authorSahil Siddiq <icegambit91@gmail.com>2023-05-23 19:50:49 +0530
committerSahil Siddiq <icegambit91@gmail.com>2023-05-24 12:21:12 +0530
commit4227fbd06ebe113daf4b238484cedbf3d52de31c (patch)
tree2a82e5d3b547fdce41f6e4d822b1eb7ee026c27e /Action.c
parentdc883b2910f1feea7806fa5109916f9e1ae0d030 (diff)
Document 'O' keyboard shortcut
Co-authored-by: BenBE <BenBE@geshi.org>
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Action.c b/Action.c
index 75cf8c85..62308da7 100644
--- a/Action.c
+++ b/Action.c
@@ -606,6 +606,7 @@ static const struct {
{ .key = " u: ", .roInactive = false, .info = "show processes of a single user" },
{ .key = " H: ", .roInactive = false, .info = "hide/show user process threads" },
{ .key = " K: ", .roInactive = false, .info = "hide/show kernel threads" },
+ { .key = " O: ", .roInactive = false, .info = "hide/show processes in containers" },
{ .key = " F: ", .roInactive = false, .info = "cursor follows process" },
{ .key = " + - *: ", .roInactive = false, .info = "expand/collapse tree/toggle all" },
{ .key = "N P M T: ", .roInactive = false, .info = "sort by PID, CPU%, MEM% or TIME" },
@@ -763,9 +764,9 @@ static Htop_Reaction actionHelp(State* st) {
for (item = 0; helpRight[item].key; item++) {
attrset((helpRight[item].roInactive && readonly) ? CRT_colors[HELP_SHADOW] : CRT_colors[HELP_BOLD]);
- mvaddstr(line + item, 41, helpRight[item].key);
+ mvaddstr(line + item, 43, helpRight[item].key);
attrset((helpRight[item].roInactive && readonly) ? CRT_colors[HELP_SHADOW] : CRT_colors[DEFAULT_COLOR]);
- mvaddstr(line + item, 50, helpRight[item].info);
+ mvaddstr(line + item, 52, helpRight[item].info);
}
line += MAXIMUM(leftHelpItems, item);
line++;

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