Don't enter raw mode preemptively

The user input is not echoed in sbt new because we were switching to raw
mode when creating the console terminal. I can't quite remember why I
was entering raw mode preemptively but it doesn't seem like the best
idea.
This commit is contained in:
Ethan Atkins 2020-10-07 09:39:08 -07:00
parent a2fc24bb6f
commit b057e58792
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)