Move SIGWINCH handling to ui/core.c, ignore signal whilst resizing

This commit is contained in:
James Booth
2015-02-04 23:35:28 +00:00
parent d64c4a69d7
commit 30180ac8bb
5 changed files with 18 additions and 9 deletions

View File

@@ -204,6 +204,7 @@ _init(const int disable_tls, char *log_level)
signal(SIGPIPE, SIG_IGN);
signal(SIGINT, SIG_IGN);
signal(SIGTSTP, SIG_IGN);
signal(SIGWINCH, ui_sigwinch_handler);
_create_directories();
log_level_t prof_log_level = log_level_from_string(log_level);
prefs_load();