mirror of https://github.com/sbt/sbt.git
Merge pull request #7420 from hvesalai/dumb-terminal-keybindings
Temporary fix for #7371
This commit is contained in:
commit
edc10297b0
|
|
@ -110,6 +110,11 @@ object LineReader {
|
|||
override def readLine(prompt: String, mask: Option[Char]): Option[String] = {
|
||||
val term = JLine3(terminal)
|
||||
val reader = LineReaderBuilder.builder().terminal(term).completer(completer(parser)).build()
|
||||
|
||||
if (Util.isEmacs) {
|
||||
reader.setKeyMap(JLineReader.SAFE)
|
||||
}
|
||||
|
||||
try {
|
||||
inputrcFileContents.foreach { bytes =>
|
||||
InputRC.configure(
|
||||
|
|
|
|||
Loading…
Reference in New Issue