mirror of
https://github.com/sbt/sbt.git
synced 2026-09-07 02:55:23 +02:00
Merge pull request #4123 from eed3si9n/wip/repl
Re-fix console and JLine bug
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user