mirror of
https://github.com/sbt/sbt.git
synced 2026-09-04 00:41:32 +02:00
Merge pull request #4082 from eed3si9n/wip/repl
Re-fixing console and JLine
This commit is contained in:
@@ -41,7 +41,9 @@ final class Console(compiler: AnalyzingCompiler) {
|
||||
implicit log: Logger): Try[Unit] = {
|
||||
def console0() =
|
||||
compiler.console(classpath, options, initialCommands, cleanupCommands, log)(loader, bindings)
|
||||
JLine.withJLine(Run.executeTrapExit(console0, log))
|
||||
JLine.usingTerminal { _ =>
|
||||
Run.executeTrapExit(console0, log)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user