1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-25 07:50:27 +00:00

Turn off raw mode in shell on ctrl-C.

This commit is contained in:
Calvin Rose 2021-11-18 19:58:52 -06:00
parent c7ca26e9c7
commit af946f398e

View File

@ -757,6 +757,7 @@ static int line() {
kleft();
break;
case 3: /* ctrl-c */
norawmode();
kill(getpid(), SIGINT);
/* fallthrough */
case 17: /* ctrl-q */