Skip to content
GitLab
Menu
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
52840406
Commit
52840406
authored
Mar 08, 2008
by
Hisham Muhammad
Browse files
Make sure help screen is properly filled.
Make behavior of H key consistent.
parent
4df76d12
Changes
1
Hide whitespace changes
Inline
Side-by-side
htop.c
View file @
52840406
...
...
@@ -56,6 +56,10 @@ void printHelpFlag() {
void
showHelp
(
ProcessList
*
pl
)
{
clear
();
attrset
(
CRT_colors
[
HELP_BOLD
]);
for
(
int
i
=
0
;
i
<
LINES
-
1
;
i
++
)
mvhline
(
i
,
0
,
' '
,
COLS
);
mvaddstr
(
0
,
0
,
"htop "
VERSION
" - (C) 2004-2008 Hisham Muhammad."
);
mvaddstr
(
1
,
0
,
"Released under the GNU GPL. See 'man' page for more info."
);
...
...
@@ -705,7 +709,8 @@ int main(int argc, char** argv) {
break
;
case
'H'
:
refreshTimeout
=
0
;
pl
->
hideThreads
=
!
pl
->
hideThreads
;
pl
->
hideUserlandThreads
=
!
pl
->
hideUserlandThreads
;
pl
->
hideThreads
=
pl
->
hideUserlandThreads
;
settings
->
changed
=
true
;
break
;
case
'K'
:
...
...
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