sbt console won't allow any input.
See original GitHub issue(See the guidelines for contributing, linked above)
steps
Just invoke sbt console in any folder
problem
sbt console won’t allow any input.
It doesn’t echo back anything I type except <Enter>
key
It responds to my <Enter>
and changes a line
Also pressing CTRL-C
lets me out of the console.
expectation
Working like a regular console (echoing back what I type)
notes
I have installed scala and sbt through sdkman (http://sdkman.io/index.html); That may be a problem?
scala version : 2.12.4 sbt version: 1.1.1 OS : Mac OS X 10.13.3 openjdk version “1.8.0_152”
And I wonder this is related to this issue ?
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Console input within SBT does not echo to the screen
When I compile this simple code and run it from the command line (outside of sbt), I see the keystrokes as I type...
Read more >Getting Started with Scala and sbt on the Command Line
Run sbt . This will open up the sbt console. Type ~run . The ~ is optional and causes sbt to re-run on...
Read more >Chapter 2. Getting started - sbt in Action - liveBook · Manning
Run the settings help on the sbt command line and see if that points you to where source code for the project should...
Read more >SBT for the absolute beginner 2 (Settings and Tasks) - Medium
So whenever SBT is used to run your project, the commands added will be used to run your program. I'm sure the scalacOptions...
Read more >sbt Reference Manual — Combined Pages
Starts the Scala REPL with project classes and dependencies on the ... Some of the information inspect displays won't make sense yet, but...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems like sdkman has nothing to do with this issue.
This symptom appears with Installing via Homebrew anyway.
And I tried
sbt "-Djline.terminal=none"
and it worked!Just invoking the console with typing
sbt
caused this issue (maybe, only to me?)I think this is a bug…
@suewonjp a year and a half later and no change. BTW this is a demonstration of the problem: https://youtu.be/cwHybM85Vpc
My inputrc:
Edit: I forgot to mention in the video that it makes weird files including control characters
'hello-world'$'\177\177\177\177\177\177\177\177\177''hello'$'\177\177\177\177\177\177''wtf?!'