sbt/internal
Ethan Atkins 9e0cd4cde6 Clear prompt only if there are no bytes pending
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.
2020-09-25 10:38:33 -07:00
..
util-collection Improve sbt build load time by 25% 2020-07-26 19:52:26 -07:00
util-complete Fix switching between raw and canonical input 2020-09-21 13:42:03 -07:00
util-control Kill external processes on sigint 2020-08-23 10:15:07 -07:00
util-interface/src/main/java/xsbti Apply javafmt in sbt project 2020-01-14 14:38:08 -08:00
util-logging Clear prompt only if there are no bytes pending 2020-09-25 10:38:33 -07:00
util-logic/src apply -Yno-lub 2019-10-13 23:46:23 -04:00
util-position/src Add util headers 2019-12-08 10:29:22 -08:00
util-relation/src Add util headers 2019-12-08 10:29:22 -08:00
util-scripted/src/main Add internal multi logger implementation 2020-08-09 11:20:34 -07:00