mirror of https://github.com/sbt/sbt.git
If there is no system console available, then there is no point in making an ask user thread. An ask user thread can only be created when the terminal prompt is in the Prompt.Running or Prompt.Loading state. The console channel will now set itself to be in the Prompt.NoPrompt state if it detects that there is no System.console available. The motivation for this change is that jline was printing a lot of extra text during scripted and server tests. Whenever a jline3 linereader is closed, it prints a newline so the logs were filled with unnecessary newlines. |
||
|---|---|---|
| .. | ||
| util-collection | ||
| util-complete | ||
| util-control | ||
| util-interface/src/main/java/xsbti | ||
| util-logging | ||
| util-logic/src | ||
| util-position/src | ||
| util-relation/src | ||
| util-scripted/src/main | ||