-
Notifications
You must be signed in to change notification settings - Fork 928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SBT 0.13.7 does not react on Ctrl-C or Ctrl-D hotkeys #1855
Comments
Hi, could you see #1442 and see if cancelable in Global := true fixes it? Also is this an Akka specific issue? |
Hi, |
Ctrl-C doesn't work for me either, with or without "cancleable" set. Ctrl-D does work however (Windows 8.1). |
Same problem running a Spring Boot application in Windows with "sbt run". "cancelable in Global := true" does not help. Using sbt 0.13.8. |
I noticed now that it is not stoppable when running "run" from within the sbt console, but when running "sbt run" directly from the windows terminal/cygwin, ctrl-c works fine. |
I also experience this issue on windows 10 with sbt 0.13.9 and it hinders the workflow when a task, such as run, cannot be interrupted without killing the whole cmd/powershell session. |
Still a problem on Windows 10 with |
Same story with Windows 7 and SBT 0.13.8. Since I started working with sbt in 2012 I can't remember that Ctrl+C works as expected. It's one of many small things that makes work with SBT harassing 😩 |
Same thing with sbt 0.13.8 -- Ctrl-C doesn't work either |
Pretty annoying, any updates on this? |
This seems to be a bug with jline, because using version 2.14.3 fixes this issue for me. The relevant issue jline/jline2#127 mentions as much. |
TL;DR: We should update JLine. At least 2.14.3. The Scala Team has already. Thanks @Araeos for the detail and cross-linking. |
This issue will now be expedited via the Lightbend subscription. |
Fixes sbt#1855 See also jline/jline2#127
Fixes sbt#1855 See also jline/jline2#127
Fixes sbt/sbt#1855 See also jline/jline2#127
The latest advertised release linked on the Download Scala states it's for Scala v2.12.3, but it downloads the the SBT v1.0.2 which still installs Scala v2.10.6 (with the bad Specifically, this is occurring for the Windows MSI installer. Any idea when the link will be updated so new people don't have to deal with this error? |
Steps to reproduce:
Win 8.1 ruRU, chcp 1251 (866, 60001 and 1252 don't work either)
build.sbt https://gist.github.com/flirtomania/e1273618ab706a39eaba
Main class: https://gist.github.com/flirtomania/aee23feca65126db6c61
Problems:
sbt run task does not react on ctrl-c or ctrl-d hotkeys
Expectations:
pressing ctrl-c / ctrl-d should cause run task to stop or quit sbt
The text was updated successfully, but these errors were encountered: