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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/toxic/chat.c b/testing/toxic/chat.c
index 33f51f29..e1897230 100644
--- a/testing/toxic/chat.c
+++ b/testing/toxic/chat.c
@@ -150,7 +150,7 @@ static void chat_onKey(ToxWindow *self, int key)
150 } 150 }
151 151
152 /* RETURN key: Execute command or print line */ 152 /* RETURN key: Execute command or print line */
153 if (key == '\n') { 153 else if (key == '\n') {
154 wclear(ctx->linewin); 154 wclear(ctx->linewin);
155 wmove(self->window, y2-CURS_Y_OFFSET, 0); 155 wmove(self->window, y2-CURS_Y_OFFSET, 0);
156 wclrtobot(self->window); 156 wclrtobot(self->window);