mirror of
https://github.com/sbt/sbt.git
synced 2026-09-06 17:40:06 +02:00
Add SBT plugin
This commit is contained in:
@@ -26,11 +26,6 @@ class TermDisplay(out: Writer) extends Logger {
|
||||
case Some(Right(())) =>
|
||||
// update display
|
||||
|
||||
for (_ <- 0 until lineCount) {
|
||||
ansi.up(1)
|
||||
ansi.clearLine(2)
|
||||
}
|
||||
|
||||
val downloads0 = downloads.synchronized {
|
||||
downloads
|
||||
.toVector
|
||||
@@ -71,9 +66,13 @@ class TermDisplay(out: Writer) extends Logger {
|
||||
} else
|
||||
(url, extra)
|
||||
|
||||
ansi.clearLine(2)
|
||||
out.write(s"$url0 $extra0\n")
|
||||
}
|
||||
|
||||
for (_ <- downloads0.indices)
|
||||
ansi.up(1)
|
||||
|
||||
out.flush()
|
||||
Thread.sleep(refreshInterval)
|
||||
helper(downloads0.length)
|
||||
|
||||
Reference in New Issue
Block a user