Fix on-screen documentation regarding [ and ]

This commit is contained in:
Hisham Muhammad 2011-09-08 01:36:08 +00:00
parent 03322b62ec
commit 25a2aada3c
2 changed files with 4 additions and 4 deletions

View File

@ -86,11 +86,11 @@ tree view.
Select field for sorting. The sort field is indicated by a Select field for sorting. The sort field is indicated by a
highlight in the header. highlight in the header.
.TP .TP
.B F7, ], - .B F7, ]
Increase selected process priority (subtract from 'nice' value). Increase selected process priority (subtract from 'nice' value).
This can be done by the superuser only. This can be done by the superuser only.
.TP .TP
.B F8, [, + .B F8, [
Decrease selected process priority (add to 'nice' value) Decrease selected process priority (add to 'nice' value)
.TP .TP
.B F9, k .B F9, k

4
htop.c
View File

@ -142,8 +142,8 @@ static void showHelp(ProcessList* pl) {
mvaddstr(13, 0, " Space"); mvaddstr(13,40, " F"); mvaddstr(13, 0, " Space"); mvaddstr(13,40, " F");
mvaddstr(14, 0, " U"); mvaddstr(14,40, " + -"); mvaddstr(14, 0, " U"); mvaddstr(14,40, " + -");
mvaddstr(15, 0, " F9 k"); mvaddstr(15,40, " P"); mvaddstr(15, 0, " F9 k"); mvaddstr(15,40, " P");
mvaddstr(16, 0, " [ F7"); mvaddstr(16,40, " M"); mvaddstr(16, 0, " ] F7"); mvaddstr(16,40, " M");
mvaddstr(17, 0, " ] F8"); mvaddstr(17,40, " T"); mvaddstr(17, 0, " [ F8"); mvaddstr(17,40, " T");
mvaddstr(18,40, " F4 I"); mvaddstr(18,40, " F4 I");
#if HAVE_PLPA #if HAVE_PLPA
if (pl->cpuCount > 1) if (pl->cpuCount > 1)