From 1588dbee9c6dd5575be2af398671ad0569beca98 Mon Sep 17 00:00:00 2001 From: jfreegman Date: Fri, 9 Aug 2024 23:10:17 -0400 Subject: [PATCH] cleanup: help menu formatting Fix an incorrect newline and make menu the correct number of lines --- src/help.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/help.c b/src/help.c index 9ec98f725..cd63c1a2a 100644 --- a/src/help.c +++ b/src/help.c @@ -332,9 +332,9 @@ static void help_draw_keys(ToxWindow *self) wprintw(win, " Ctrl+up and Ctrl+down : Scroll groupchat/conference peer list\n"); wprintw(win, " Ctrl+B : Toggle groupchat/conference peer list\n"); wprintw(win, " Ctrl+J : Insert new line\n"); - wprintw(win, " Ctrl+T : Toggle paste mode\n\n"); + wprintw(win, " Ctrl+T : Toggle paste mode\n"); wprintw(win, " Ctrl+R : Reload the Toxic config file\n\n"); - wprintw(win, " (Note: Custom keybindings override these defaults.)\n\n"); + wprintw(win, " (Note: Custom keybindings override these defaults.)\n"); help_draw_bottom_menu(win); @@ -477,7 +477,7 @@ void help_onKey(ToxWindow *self, wint_t key) break; case L'k': - help_init_window(self, 15, 80); + help_init_window(self, 16, 80); self->help->type = HELP_KEYS; break;