mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 00:56:34 +01:00
improve /help system and add startup welcome message
This commit is contained in:
@@ -20,14 +20,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef SIGWINCH
|
||||
#define SIGWINCH 28
|
||||
#endif
|
||||
|
||||
#ifndef SIGINT
|
||||
#define SIGINT 2
|
||||
#endif
|
||||
|
||||
#include <curses.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
@@ -106,6 +98,7 @@ void exit_toxic_success(Tox *m)
|
||||
line_info_cleanup(prompt->chatwin->hst);
|
||||
free(DATA_FILE);
|
||||
free(prompt->stb);
|
||||
free(prompt->help);
|
||||
free(prompt->chatwin->log);
|
||||
free(prompt->chatwin->hst);
|
||||
free(prompt->chatwin);
|
||||
|
||||
Reference in New Issue
Block a user