mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +00:00 
			
		
		
		
	Merge pull request #873 from andrewchambers/procsig
Use kill instead of raise for SIGINT.
This commit is contained in:
		| @@ -757,7 +757,7 @@ static int line() { | ||||
|                 kleft(); | ||||
|                 break; | ||||
|             case 3:     /* ctrl-c */ | ||||
|                 raise(SIGINT); | ||||
|                 kill(getpid(), SIGINT); | ||||
|                 /* fallthrough */ | ||||
|             case 17:    /* ctrl-q */ | ||||
|                 gbl_cancel_current_repl_form = 1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose