summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2009-02-18 00:34:18 +0000
committerHisham Muhammad <hisham@gobolinux.org>2009-02-18 00:34:18 +0000
commit10213f3ea122d89da965b49fa263f32ae68218e1 (patch)
treedf68b98a092390abe0e49a45d0bc179fe300efde /htop.c
parentf2ef3b74a03ab0d63b2e3ddd0384414e4ba2dc74 (diff)
improve help on monochrome, fix bug #2430855
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/htop.c b/htop.c
index fc5a6411..9cfd2b02 100644
--- a/htop.c
+++ b/htop.c
@@ -99,8 +99,10 @@ static void showHelp(ProcessList* pl) {
addattrstr(CRT_colors[BAR_BORDER], "]");
attrset(CRT_colors[DEFAULT_COLOR]);
mvaddstr(6,0, "Type and layout of header meters are configurable in the setup screen.");
- mvaddstr(7, 0, "Status: R: running; S: sleeping; T: traced/stopped; Z: zombie; D: disk sleep");
-
+ if (CRT_colorScheme == COLORSCHEME_MONOCHROME) {
+ mvaddstr(7, 0, "In monochrome, meters are displayed through different chars, in order: |#*@$%&");
+ }
+ mvaddstr( 8, 0, " Status: R: running; S: sleeping; T: traced/stopped; Z: zombie; D: disk sleep");
mvaddstr( 9, 0, " Arrows: scroll process list F5 t: tree view");
mvaddstr(10, 0, " Digits: incremental PID search u: show processes of a single user");
mvaddstr(11, 0, " F3 /: incremental name search H: hide/show user threads");

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