Created
January 11, 2018 02:55
-
-
Save hirofumi/9feff6aec0e7a1fee4eaf797ec41691f to your computer and use it in GitHub Desktop.
~/.sbt/1.0/jline-workarounds.sbt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// from https://github.com/sbt/sbt/issues/3841#issuecomment-355794813 | |
jlineWorkarounds | |
def jlineWorkarounds = Def.settings( | |
Seq( | |
console in Compile, | |
console in Test, | |
consoleProject in Compile, | |
consoleProject in Test, | |
) map { key => | |
key := key | |
.dependsOn(Def.task { jline.TerminalFactory.get.init }) | |
.andFinally(jline.TerminalFactory.get.restore) | |
.value | |
}: _*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment