From 3edb6e1ea3fc7434585528d21da1f2f86bb34d1b Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Sun, 20 Dec 2020 01:48:07 +1100 Subject: Position help labels one step to the right --- Action.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Action.c') diff --git a/Action.c b/Action.c index 16ed4c22..32ea544a 100644 --- a/Action.c +++ b/Action.c @@ -553,24 +553,24 @@ static Htop_Reaction actionHelp(State* st) { int item; for (item = 0; helpLeft[item].key; item++) { attrset(CRT_colors[DEFAULT_COLOR]); - mvaddstr(line + item, 9, helpLeft[item].info); + mvaddstr(line + item, 10, helpLeft[item].info); attrset(CRT_colors[HELP_BOLD]); - mvaddstr(line + item, 0, helpLeft[item].key); + mvaddstr(line + item, 1, helpLeft[item].key); if (String_eq(helpLeft[item].key, " H: ")) { attrset(CRT_colors[PROCESS_THREAD]); - mvaddstr(line + item, 32, "threads"); + mvaddstr(line + item, 33, "threads"); } else if (String_eq(helpLeft[item].key, " K: ")) { attrset(CRT_colors[PROCESS_THREAD]); - mvaddstr(line + item, 26, "threads"); + mvaddstr(line + item, 27, "threads"); } } int leftHelpItems = item; for (item = 0; helpRight[item].key; item++) { attrset(CRT_colors[HELP_BOLD]); - mvaddstr(line + item, 40, helpRight[item].key); + mvaddstr(line + item, 41, helpRight[item].key); attrset(CRT_colors[DEFAULT_COLOR]); - mvaddstr(line + item, 49, helpRight[item].info); + mvaddstr(line + item, 50, helpRight[item].info); } line += MAXIMUM(leftHelpItems, item); line++; -- cgit v1.2.3