mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 07:33:01 +00:00 
			
		
		
		
	Turn off raw mode in shell on ctrl-C.
This commit is contained in:
		| @@ -757,6 +757,7 @@ static int line() { | |||||||
|                 kleft(); |                 kleft(); | ||||||
|                 break; |                 break; | ||||||
|             case 3:     /* ctrl-c */ |             case 3:     /* ctrl-c */ | ||||||
|  |                 norawmode(); | ||||||
|                 kill(getpid(), SIGINT); |                 kill(getpid(), SIGINT); | ||||||
|                 /* fallthrough */ |                 /* fallthrough */ | ||||||
|             case 17:    /* ctrl-q */ |             case 17:    /* ctrl-q */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose