mirror of
https://github.com/sbt/sbt.git
synced 2026-09-03 08:34:34 +02:00
With the thin client, when running the command `exit`, it is often the case that the log message `[info] disconnected` is printed on the same line as the prompt. This is because there is a small flush delay on the network client's output stream channel that causes the disconnected info message to be logged before the the newline that jline 3 echoes to the client has been printed. To fix this we can manually flush the terminal output stream before exiting.