summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Action.c b/Action.c
index 363c2b98..d9cc5abf 100644
--- a/Action.c
+++ b/Action.c
@@ -320,6 +320,7 @@ static Htop_Reaction actionSetAffinity(State* st) {
if (!affinity1) return HTOP_OK;
int width;
Panel* affinityPanel = AffinityPanel_new(st->pl, affinity1, &width);
+ width += 1; /* we add a gap between the panels */
Affinity_delete(affinity1);
void* set = Action_pickFromVector(st, affinityPanel, width, true);

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