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.
This commit is contained in:
Kevin Bracey 2022-01-12 11:09:10 +02:00 committed by BenBE
parent d0d9f202c5
commit 4a664c0df8
1 changed files with 1 additions and 1 deletions

View File

@ -603,7 +603,7 @@ static Htop_Reaction actionHelp(State* st) {
addattrstr(CRT_colors[BAR_BORDER], "["); addattrstr(CRT_colors[BAR_BORDER], "[");
addattrstr(CRT_colors[SWAP], "used"); addattrstr(CRT_colors[SWAP], "used");
#ifdef HTOP_LINUX #ifdef HTOP_LINUX
addattrstr(CRT_colors[BAR_SHADOW], "/"); addstr("/");
addattrstr(CRT_colors[SWAP_CACHE], "cache"); addattrstr(CRT_colors[SWAP_CACHE], "cache");
addattrstr(CRT_colors[BAR_SHADOW], " used/total"); addattrstr(CRT_colors[BAR_SHADOW], " used/total");
#else #else