mirror of https://github.com/sbt/sbt.git
When sbt is running a background process that logs to stdout, the output can be inadvertently deleted before it has been printed. When the user is in the prompt state and a log message comes in, we want to delete the prompt before we print the log. The problem is println is often implemented with a write of the content followed by a second write of the system line separator. When that happened, we would print the content and then immediately delete it when the newline came in. The fix is to not clear the prompt if there are any bytes that have been written without a newline, which was tracked by the currentLineBytes variable. |
||
|---|---|---|
| .. | ||
| 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 | ||