diff options
Diffstat (limited to 'src/util.c')
| -rw-r--r-- | src/util.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -6,6 +6,13 @@ void cleanup(void) { curl_global_cleanup(); + endwin(); +} + +void sig_handler(int sig) +{ + cleanup(); + exit(EXIT_FAILURE); } struct data_buffer_t { |