summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Bracey <kevin@bracey.fi>2022-01-12 11:09:10 +0200
committerBenBE <BenBE@geshi.org>2022-01-13 19:45:01 +0100
commit4a664c0df8093d770b3f254800a91215575dd726 (patch)
treefb5cc6308b170cce45c1676f4facd044cdd74717
parentd0d9f202c56c1fc8919548418b339d31a6b49c02 (diff)
Help: Linux swap consistency
On the help screen's depiction of the swap bar, the / separator between used and cache should be coloured for consistency with the other bars. I tried removing the coloured /s from the other bars to make them consistent, but found that less visually appealing.
-rw-r--r--Action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Action.c b/Action.c
index 4e564540..13715361 100644
--- a/Action.c
+++ b/Action.c
@@ -603,7 +603,7 @@ static Htop_Reaction actionHelp(State* st) {
addattrstr(CRT_colors[BAR_BORDER], "[");
addattrstr(CRT_colors[SWAP], "used");
#ifdef HTOP_LINUX
- addattrstr(CRT_colors[BAR_SHADOW], "/");
+ addstr("/");
addattrstr(CRT_colors[SWAP_CACHE], "cache");
addattrstr(CRT_colors[BAR_SHADOW], " used/total");
#else

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