Skip to content

Commit

Permalink
cleanup: help menu formatting
Browse files Browse the repository at this point in the history
Fix an incorrect newline and make menu the correct number of lines
  • Loading branch information
JFreegman committed Aug 10, 2024
1 parent 827ff22 commit 1588dbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/help.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 1588dbe

Please sign in to comment.