mirror of https://github.com/sbt/sbt.git
It is possible for the signal handler to get in a state where it has no effect in the shell. When this happens, entering ctrl+c does not exit the shell. To ensure that ctrl+c always exits the shell, we can register a signal handler in the line reader that write -1 to the terminal input stream, which should cause the line reader to return an exit command. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||