mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
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
This commit is contained in:
parent
9d609752be
commit
181f00c15e
@ -362,7 +362,7 @@ void term_refresh(TERM_WINDOW *window)
|
||||
void term_stop(void)
|
||||
{
|
||||
term_deinit_int();
|
||||
kill(getpid(), SIGSTOP);
|
||||
kill(getpid(), SIGTSTP);
|
||||
term_init_int();
|
||||
irssi_redraw();
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user