-
Notifications
You must be signed in to change notification settings - Fork 21
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
REPL does not show input (Windows) #9434
Comments
Imported From: https://issues.scala-lang.org/browse/SI-9434?orig=1 |
@som-snytt said:
|
Michael Ummels (ummels) said (edited on Aug 20, 2015 4:43:07 PM UTC): Anyway, could you try runing |
I've got the same issue on Windows 10 Family (Version 1803, 17134.471). I'm using sbt 1.2.3, and Scala 2.12.6. When I run sbt inside a git bash console, it does not echo input to the CLI, although it does receive it. |
keep watch,me too |
is there any evidence this is a bug in scala/scala and not in sbt/sbt? if there isn't, we should close the ticket |
This could be a bug from sbt. |
Thanks for the heads up, @counter2015 @SethTisue OP said it happened under cygwin with vanilla scala command. That suggests jline something. (I tested cygwin above, but I no longer have a working cygwin setup.) Maybe the question is does it happen with jline 3. Then maybe we'll understand the workaround, which may be something like "don't do this in your .inputrc" or ".jlinerc". I can't tell at a glance if the sbt fix applies. Our Oh I see @counter2015 was on Ubuntu under Windows. I can actually try that out. Certainly I've been using |
@counter2015 can I ask you to open a new ticket on that? it's conceivable we'll discover some relationship between the two tickets, but this ticket differs from your report in two major respects:
so I think it's best if we track them separately |
@SethTisue ok, I will open a new ticket |
the new ticket opened by @counter2015 is #11959 I'm closing this ticket on the hopeful assumption that there aren't any other problems as of 2.13.2 |
After upgrading to Scala 2.11.7 on Windows, the REPL when started using
sbt console
does not display the user's input when typing anymore. Only after pressing ENTER, one can see the result of evaluating the input (but not the input itself).I guess this problem is somehow related to [https://github.com/scala/scala/pull/4563], so I addded
-Ydebug
toscalacOptions
. The output seems to confirm that the REPL cannot find the embedded JLine interpreter.What is odd is that the same behavior occurs when starting the REPL directy by running
scala
inside Cygwin, but not when runningscala
inside the Windows command line (although the debug output looks the same), whereas the problem occurs under both environments when the REPL is launched from within SBT usingconsole
.The text was updated successfully, but these errors were encountered: