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:
parent
c7ca26e9c7
commit
af946f398e
@ -757,6 +757,7 @@ static int line() {
|
||||
kleft();
|
||||
break;
|
||||
case 3: /* ctrl-c */
|
||||
norawmode();
|
||||
kill(getpid(), SIGINT);
|
||||
/* fallthrough */
|
||||
case 17: /* ctrl-q */
|
||||
|
Loading…
Reference in New Issue
Block a user