mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05: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)
|
void term_stop(void)
|
||||||
{
|
{
|
||||||
term_deinit_int();
|
term_deinit_int();
|
||||||
kill(getpid(), SIGSTOP);
|
kill(getpid(), SIGTSTP);
|
||||||
term_init_int();
|
term_init_int();
|
||||||
irssi_redraw();
|
irssi_redraw();
|
||||||
}
|
}
|
||||||
|
@ -543,10 +543,10 @@ void term_attach(FILE *in, FILE *out)
|
|||||||
void term_stop(void)
|
void term_stop(void)
|
||||||
{
|
{
|
||||||
if (term_detached) {
|
if (term_detached) {
|
||||||
kill(getpid(), SIGSTOP);
|
kill(getpid(), SIGTSTP);
|
||||||
} else {
|
} else {
|
||||||
terminfo_stop(current_term);
|
terminfo_stop(current_term);
|
||||||
kill(getpid(), SIGSTOP);
|
kill(getpid(), SIGTSTP);
|
||||||
terminfo_cont(current_term);
|
terminfo_cont(current_term);
|
||||||
irssi_redraw();
|
irssi_redraw();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user