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:
parent
bdb0951c84
commit
4780cfeafc
11
src/help.c
11
src/help.c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user