mirror of https://github.com/sbt/sbt.git
Merge pull request #5975 from eatkins/ctrl+d
Don't throw ClosedException on ctrl+d
This commit is contained in:
commit
2dc799b2bd
|
|
@ -117,9 +117,7 @@ private[sbt] object JLine3 {
|
|||
}
|
||||
res match {
|
||||
case 3 /* ctrl+c */ => throw new ClosedException
|
||||
case 4 /* ctrl+d */ if term.prompt.render().endsWith(term.prompt.mkPrompt()) =>
|
||||
throw new ClosedException
|
||||
case r => r
|
||||
case r => r
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue