Merge pull request #5954 from eatkins/new-input

Don't enter raw mode preemptively
This commit is contained in:
eugene yokota 2020-10-10 20:17:47 -04:00 committed by GitHub
commit b1e4d5e3aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -786,7 +786,6 @@ object Terminal {
private[util] val system: org.jline.terminal.Terminal,
) extends TerminalImpl(in, out, originalErr, "console0") {
private[this] val rawMode = new AtomicBoolean(false)
if (hasConsole) enterRawMode()
override private[sbt] def getSizeImpl: (Int, Int) = {
val size = system.getSize
(size.getColumns, size.getRows)