From 25a2aada3c0faee45f57d2ce31c0987d030ce693 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 8 Sep 2011 01:36:08 +0000 Subject: [PATCH] Fix on-screen documentation regarding [ and ] --- htop.1.in | 4 ++-- htop.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htop.1.in b/htop.1.in index 8d720b2b..ecd6cd8d 100644 --- a/htop.1.in +++ b/htop.1.in @@ -86,11 +86,11 @@ tree view. Select field for sorting. The sort field is indicated by a highlight in the header. .TP -.B F7, ], - +.B F7, ] Increase selected process priority (subtract from 'nice' value). This can be done by the superuser only. .TP -.B F8, [, + +.B F8, [ Decrease selected process priority (add to 'nice' value) .TP .B F9, k diff --git a/htop.c b/htop.c index 2540b3de..2818b2e0 100644 --- a/htop.c +++ b/htop.c @@ -142,8 +142,8 @@ static void showHelp(ProcessList* pl) { mvaddstr(13, 0, " Space"); mvaddstr(13,40, " F"); mvaddstr(14, 0, " U"); mvaddstr(14,40, " + -"); mvaddstr(15, 0, " F9 k"); mvaddstr(15,40, " P"); - mvaddstr(16, 0, " [ F7"); mvaddstr(16,40, " M"); - mvaddstr(17, 0, " ] F8"); mvaddstr(17,40, " T"); + mvaddstr(16, 0, " ] F7"); mvaddstr(16,40, " M"); + mvaddstr(17, 0, " [ F8"); mvaddstr(17,40, " T"); mvaddstr(18,40, " F4 I"); #if HAVE_PLPA if (pl->cpuCount > 1)