mirror of
https://github.com/janet-lang/janet
synced 2024-12-26 08:20: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();
|
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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user