diff options
author | Wouter Coekaerts <coekie@irssi.org> | 2005-07-17 16:41:23 +0000 |
---|---|---|
committer | coekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2005-07-17 16:41:23 +0000 |
commit | 181f00c15e261f2dd2608891280f54854ec2da38 (patch) | |
tree | bce480f4a35787c31488a42e7dca472edbd490ef /src/fe-text/term-terminfo.c | |
parent | 9d609752be72d093c942e53064333440b30105e5 (diff) | |
download | irssi-181f00c15e261f2dd2608891280f54854ec2da38.zip |
Handle ^Z better (debian/patches/03sigtstp.dpatch by David Pashley, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=177108)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3864 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/term-terminfo.c')
-rw-r--r-- | src/fe-text/term-terminfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c index 2d5c4426..21591889 100644 --- a/src/fe-text/term-terminfo.c +++ b/src/fe-text/term-terminfo.c @@ -543,10 +543,10 @@ void term_attach(FILE *in, FILE *out) void term_stop(void) { if (term_detached) { - kill(getpid(), SIGSTOP); + kill(getpid(), SIGTSTP); } else { terminfo_stop(current_term); - kill(getpid(), SIGSTOP); + kill(getpid(), SIGTSTP); terminfo_cont(current_term); irssi_redraw(); } |