Print ClearScreenAfterCursor on shutdown

There are scenarios in which sbt can leave behind stray progress lines
after it exits. This attempts to delete them.
This commit is contained in:
Ethan Atkins
2020-07-21 13:27:44 -07:00
parent d53ebaa686
commit cd26abd656
+3
View File
@@ -102,7 +102,10 @@ private[sbt] object xMain {
}
}
} finally {
// Clear any stray progress lines
ShutdownHooks.close()
System.out.print(ConsoleAppender.ClearScreenAfterCursor)
System.out.flush()
}
}