mirror of
https://github.com/sbt/sbt.git
synced 2026-10-06 18:14:04 +02:00
Merge pull request #3507 from kczulko/issue-3453
Fix for text echo issue when running sbt.
This commit is contained in:
@@ -120,7 +120,9 @@ private[sbt] object JLine {
|
||||
def usingTerminal[T](f: jline.Terminal => T): T =
|
||||
withTerminal { t =>
|
||||
t.restore
|
||||
f(t)
|
||||
val result = f(t)
|
||||
t.restore
|
||||
result
|
||||
}
|
||||
|
||||
def createReader(): ConsoleReader = createReader(None, JLine.makeInputStream(true))
|
||||
|
||||
Reference in New Issue
Block a user