1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 11:03:25 +01:00

remove non-existant group commands

This commit is contained in:
Jfreegman 2015-03-31 17:11:43 -04:00
parent bdb0951c84
commit 4780cfeafc
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -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 <msg> : 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 <type> : Mute active device where type: in | out\n");
wprintw(win, " /sense <n> : 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);