summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-03-16 23:17:33 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-03-16 23:17:33 +0000
commit88654c4468deb54092ff3a79ade1919e21ded0ab (patch)
tree3ed6e35b5a88e71c6c4b3b47984a8ac14a635b0d /src/fe-text
parentee3a30e16b44f6a8f1dc9cda1c7f5802a0a5c84c (diff)
downloadirssi-88654c4468deb54092ff3a79ade1919e21ded0ab.zip
term_deinit() should set SIGCONT back to default, so if it's sent after that
it won't crash (gnome-terminal does that for some reason) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2623 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/term-terminfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c
index 5716b36c..54a02a6b 100644
--- a/src/fe-text/term-terminfo.c
+++ b/src/fe-text/term-terminfo.c
@@ -119,6 +119,7 @@ int term_init(void)
void term_deinit(void)
{
if (current_term != NULL) {
+ signal(SIGCONT, SIG_DFL);
g_source_remove(redraw_tag);
term_common_deinit();