1
0
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:
Jfreegman
2013-11-19 02:31:22 -05:00
parent 83458c64ec
commit b16ff16abc
4 changed files with 17 additions and 14 deletions

View File

@ -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)