1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-03 03:26:45 +02:00

add setting to disable welcome message

This commit is contained in:
Jfreegman
2014-09-19 01:06:18 -04:00
parent daf4614ba6
commit 9ee7a48910
8 changed files with 27 additions and 7 deletions

View File

@ -464,7 +464,8 @@ static void prompt_onInit(ToxWindow *self, Tox *m)
scrollok(ctx->history, 0);
wmove(self->window, y2 - CURS_Y_OFFSET, 0);
print_welcome_msg(self);
if (user_settings_->show_welcome_msg == SHOW_WELCOME_MSG_ON)
print_welcome_msg(self);
}
ToxWindow new_prompt(void)