summaryrefslogtreecommitdiff
path: root/testing/toxic/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/toxic/chat.c')
-rw-r--r--testing/toxic/chat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/toxic/chat.c b/testing/toxic/chat.c
index 5d0e14ad..175c6b05 100644
--- a/testing/toxic/chat.c
+++ b/testing/toxic/chat.c
@@ -225,11 +225,12 @@ static void chat_onInit(ToxWindow* self) {
225 scrollok(ctx->history, 1); 225 scrollok(ctx->history, 1);
226 226
227 ctx->linewin = subwin(self->window, 2, x, y - 3, 0); 227 ctx->linewin = subwin(self->window, 2, x, y - 3, 0);
228 print_help(ctx);
228} 229}
229 230
230void print_help(ChatContext* self) { 231void print_help(ChatContext* self) {
231 wattron(self->history, COLOR_PAIR(2) | A_BOLD); 232 wattron(self->history, COLOR_PAIR(2) | A_BOLD);
232 wprintw(self->history, "\nCommands:\n"); 233 wprintw(self->history, "Commands:\n");
233 wattroff(self->history, A_BOLD); 234 wattroff(self->history, A_BOLD);
234 235
235 wprintw(self->history, " /status <message> : Set your status\n"); 236 wprintw(self->history, " /status <message> : Set your status\n");