mirror of
https://github.com/sbt/sbt.git
synced 2026-10-06 10:03:56 +02:00
Fix review issue. Add 't.restore' before function call.
This commit is contained in:
@@ -119,6 +119,7 @@ private[sbt] object JLine {
|
||||
*/
|
||||
def usingTerminal[T](f: jline.Terminal => T): T =
|
||||
withTerminal { t =>
|
||||
t.restore
|
||||
val result = f(t)
|
||||
t.restore
|
||||
result
|
||||
|
||||
Reference in New Issue
Block a user