Send SIGSTOP to whole process group on suspend (closes #401)

This commit is contained in:
Keith Winstein
2013-03-27 00:26:59 -04:00
parent abf240768f
commit 61c6ee6011
+1 -1
View File
@@ -280,7 +280,7 @@ bool STMClient::process_user_input( int fd )
fflush( NULL ); fflush( NULL );
/* actually suspend */ /* actually suspend */
raise( SIGTSTP ); kill( 0, SIGSTOP );
resume(); resume();
} else if ( the_byte == '^' ) { } else if ( the_byte == '^' ) {