diff options
author | James Booth <boothj5@gmail.com> | 2015-01-03 01:10:41 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-01-03 01:10:41 +0000 |
commit | 90b851c8483f4be3c7efb96a8324502958218f3a (patch) | |
tree | 502dac950b94430060fcc330bc1197ff567a1875 | |
parent | 1a61b4faf40eeeddf23fe064775de3e628f19d42 (diff) | |
parent | 01892b28d65c4f963c69fa7b9625803437a57d63 (diff) | |
download | profani-tty-90b851c8483f4be3c7efb96a8324502958218f3a.tar.gz |
Merge branch 'master' into title
-rw-r--r-- | src/profanity.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/profanity.c b/src/profanity.c index fb352879..e53ac176 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -254,6 +254,8 @@ _init(const int disable_tls, char *log_level) setlocale(LC_ALL, ""); // ignore SIGPIPE signal(SIGPIPE, SIG_IGN); + signal(SIGINT, SIG_IGN); + signal(SIGTSTP, SIG_IGN); _create_directories(); log_level_t prof_log_level = log_level_from_string(log_level); prefs_load(); |