mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-18 14:16:34 +01:00
save nicks and exit tox properly
This commit is contained in:
@@ -235,6 +235,7 @@ void cmd_connect(ToxWindow *self, Tox *m, int argc, char **argv)
|
||||
void cmd_quit(ToxWindow *self, Tox *m, int argc, char **argv)
|
||||
{
|
||||
endwin();
|
||||
tox_kill(m);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user