aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/120-upstream-explain-cpu-bars-in-monochrome-mode.patch
blob: 6bbc344a7463409f96b30a82cf735b1c49772499 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Explain meaning of symbols in CPU bars in monochrome mode.
Index: htop/htop.c
===================================================================
--- htop.orig/htop.c	2009-03-29 19:49:43.005032779 +0300
+++ htop/htop.c	2009-03-29 20:22:27.149033000 +0300
@@ -99,8 +99,10 @@
    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