1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 05:23:02 +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

@ -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"); 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); help_draw_bottom_menu(win);
box(win, ACS_VLINE, ACS_HLINE); box(win, ACS_VLINE, ACS_HLINE);
@ -306,12 +299,10 @@ void help_onKey(ToxWindow *self, wint_t key)
self->help->type = HELP_GLOBAL; self->help->type = HELP_GLOBAL;
break; break;
#ifdef AUDIO /* remove if/when we add non-audio group commands */
case 'r': case 'r':
help_init_window(self, 10, 80); help_init_window(self, 6, 80);
self->help->type = HELP_GROUP; self->help->type = HELP_GROUP;
break; break;
#endif
case 'f': case 'f':
help_init_window(self, 10, 80); help_init_window(self, 10, 80);