Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
0a4a447d
Commit
0a4a447d
authored
9 years ago
by
Marco Hinz
Browse files
Options
Download
Email Patches
Plain Diff
Add "p" to Help
parent
03af73bb
master
fixedgray
lua
next
perfcounters
pkgconfig-on-linux
solaris
3.0.0beta5
3.0.0beta4
3.0.0beta3
3.0.0beta2
3.0.0beta1
2.2.0
2.1.0
2.0.2
2.0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Action.c
+3
-2
Action.c
with
3 additions
and
2 deletions
+3
-2
Action.c
View file @
0a4a447d
...
...
@@ -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
(
1
5
,
32
,
"threads"
);
mvaddstr
(
1
6
,
26
,
"threads"
);
mvaddstr
(
1
6
,
32
,
"threads"
);
mvaddstr
(
1
7
,
26
,
"threads"
);
attrset
(
CRT_colors
[
DEFAULT_COLOR
]);
attrset
(
CRT_colors
[
HELP_BOLD
]);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help