1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Merge pull request #737 from ailin-nemui/fix-733

Revert "Merge pull request #452 from LemonBoy/terminfo-cup"
This commit is contained in:
ailin-nemui 2017-08-10 16:49:32 +02:00 committed by GitHub
commit 13471013f3

View File

@ -629,6 +629,13 @@ void term_stop(void)
{ {
terminfo_stop(current_term); terminfo_stop(current_term);
kill(getpid(), SIGTSTP); kill(getpid(), SIGTSTP);
/* this call needs to stay here in case the TSTP was ignored,
because then we never see a CONT to call the restoration
code. On the other hand we also cannot remove the CONT
handler because then nothing would restore the screen when
Irssi is killed with TSTP/STOP from external. */
terminfo_cont(current_term);
irssi_redraw();
} }
static int input_utf8(const unsigned char *buffer, int size, unichar *result) static int input_utf8(const unsigned char *buffer, int size, unichar *result)