mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-01 13:26:44 +02:00
move window blink/beep to a function
This commit is contained in:
@ -227,8 +227,7 @@ static void prompt_onFriendRequest(ToxWindow *self, uint8_t *key, uint8_t *data,
|
||||
}
|
||||
|
||||
wprintw(self->window, "Type \"/accept %d\" to accept it.\n", n);
|
||||
self->blink = true;
|
||||
beep();
|
||||
alert_window(self);
|
||||
}
|
||||
|
||||
void prompt_init_statusbar(ToxWindow *self, Tox *m)
|
||||
|
Reference in New Issue
Block a user