1
0
mirror of https://github.com/Tha14/toxic.git synced 2026-01-27 13:13:15 +01:00

remove WINDOW_STATUS, simplify adding and selecting chat windows

This commit is contained in:
Aaron Lipinski
2013-08-17 20:00:19 +12:00
parent 5d8ccde3d9
commit 61b72daf6a
6 changed files with 69 additions and 133 deletions

3
chat.c
View File

@@ -335,7 +335,8 @@ void execute(ToxWindow *self, ChatContext *ctx, Messenger *m, char *cmd)
else if (strcmp(ctx->line, "/close") == 0) {
int f_num = ctx->friendnum;
delwin(ctx->linewin);
del_window(self, f_num);
del_window(self);
disable_chatwin(f_num);
}
else