We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de2a214 commit a0c3203Copy full SHA for a0c3203
compiler/src/dotty/tools/repl/JLineTerminal.scala
@@ -18,7 +18,9 @@ final class JLineTerminal extends java.io.Closeable {
18
// import java.util.logging.{Logger, Level}
19
// Logger.getLogger("org.jline").setLevel(Level.FINEST)
20
21
- private val terminal = TerminalBuilder.terminal()
+ private val terminal = TerminalBuilder.builder()
22
+ .dumb(false) // fail early if not able to create a terminal
23
+ .build()
24
private val history = new DefaultHistory
25
26
private def blue(str: String) = Console.BLUE + str + Console.RESET
0 commit comments