From 4a664c0df8093d770b3f254800a91215575dd726 Mon Sep 17 00:00:00 2001 From: Kevin Bracey Date: Wed, 12 Jan 2022 11:09:10 +0200 Subject: [PATCH] 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. --- Action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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