From 4780cfeafcdf6bff6b9298ca699eae5b8fe522e0 Mon Sep 17 00:00:00 2001 From: Jfreegman Date: Tue, 31 Mar 2015 17:11:43 -0400 Subject: [PATCH] remove non-existant group commands --- src/help.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/help.c b/src/help.c index 0a97697..f212deb 100644 --- a/src/help.c +++ b/src/help.c @@ -219,7 +219,7 @@ static void help_draw_keys(ToxWindow *self) wprintw(win, "Key bindings:\n"); wattroff(win, A_BOLD | COLOR_PAIR(RED)); - wprintw(win, " Ctrl+O and Ctrl+P : Navigate through the tabs\n"); + wprintw(win, " Ctrl+O and Ctrl+P : Navigate through the tabs\n"); wprintw(win, " Page Up and Page Down : Scroll window history one line\n"); wprintw(win, " Ctrl+F and Ctrl+V : Scroll window history half a page\n"); wprintw(win, " Ctrl+H : Move to the bottom of window history\n"); @@ -245,13 +245,6 @@ static void help_draw_group(ToxWindow *self) wprintw(win, " /title : Set group title (show current title if no msg)\n\n"); - wattron(win, A_BOLD); - wprintw(win, " Audio commands:\n"); - wattroff(win, A_BOLD); - - wprintw(win, " /mute : Mute active device where type: in | out\n"); - wprintw(win, " /sense : VAD sensitivity threshold\n\n"); - help_draw_bottom_menu(win); box(win, ACS_VLINE, ACS_HLINE); @@ -306,12 +299,10 @@ void help_onKey(ToxWindow *self, wint_t key) self->help->type = HELP_GLOBAL; break; -#ifdef AUDIO /* remove if/when we add non-audio group commands */ case 'r': - help_init_window(self, 10, 80); + help_init_window(self, 6, 80); self->help->type = HELP_GROUP; break; -#endif case 'f': help_init_window(self, 10, 80);