mirror of https://github.com/sbt/sbt.git
Merge pull request #4123 from eed3si9n/wip/repl
Re-fix console and JLine bug
This commit is contained in:
commit
bf8df381f5
|
|
@ -9,7 +9,7 @@ def buildLevelSettings: Seq[Setting[_]] =
|
|||
inThisBuild(
|
||||
Seq(
|
||||
organization := "org.scala-sbt",
|
||||
version := "1.1.4-SNAPSHOT",
|
||||
version := "1.1.5-SNAPSHOT",
|
||||
description := "sbt is an interactive build tool",
|
||||
bintrayOrganization := Some("sbt"),
|
||||
bintrayRepository := {
|
||||
|
|
|
|||
|
|
@ -41,7 +41,8 @@ final class Console(compiler: AnalyzingCompiler) {
|
|||
implicit log: Logger): Try[Unit] = {
|
||||
def console0() =
|
||||
compiler.console(classpath, options, initialCommands, cleanupCommands, log)(loader, bindings)
|
||||
JLine.usingTerminal { _ =>
|
||||
JLine.usingTerminal { t =>
|
||||
t.init
|
||||
Run.executeTrapExit(console0, log)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue