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

auto-connect to DHT on startup

This commit is contained in:
Jfreegman
2013-08-10 15:46:29 -04:00
parent 0314d11bf0
commit 7d0a56e6a6
2 changed files with 76 additions and 25 deletions

2
chat.c
View File

@ -150,7 +150,7 @@ static void chat_onKey(ToxWindow *self, int key)
}
/* RETURN key: Execute command or print line */
if (key == '\n') {
else if (key == '\n') {
wclear(ctx->linewin);
wmove(self->window, y2-CURS_Y_OFFSET, 0);
wclrtobot(self->window);