diff options
author | Kevin Bracey <kevin@bracey.fi> | 2022-01-12 11:09:10 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2022-01-13 19:45:01 +0100 |
commit | 4a664c0df8093d770b3f254800a91215575dd726 (patch) | |
tree | fb5cc6308b170cce45c1676f4facd044cdd74717 | |
parent | d0d9f202c56c1fc8919548418b339d31a6b49c02 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |