mirror of https://github.com/sbt/sbt.git
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:
parent
a2fc24bb6f
commit
b057e58792
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue