mirror of
https://github.com/sbt/sbt.git
synced 2026-09-01 02:27:13 +02:00
Add Terminal.withRawOutput api
In the scala console, it's essential that we not process the bytes that are written to the terminal by jline.
This commit is contained in:
@@ -885,7 +885,7 @@ class NetworkClient(
|
||||
if (!stopped.get()) read()
|
||||
}
|
||||
}
|
||||
try Terminal.console.withRawSystemIn(read())
|
||||
try Terminal.console.withRawInput(read())
|
||||
catch { case NonFatal(_) => stopped.set(true) }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user