mirror of https://github.com/sbt/sbt.git
The unprompt method will actually kill the ui thread if its running. If we don't to this, we can get into a weird state where after watch is exited by <enter>, the ask user thread spins up but before it can print the prompt, the terminal prompt is changed to Running, which has an empty prompt. The end result is that jline3 never displays the prompt even though the line reader is active and reading bytes. When the user typed <enter> a prompt would appear. They also could input a command and it would run but it wasn't obvious what would happen since the prompt was missing. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||