Skip to content
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

console command launches dumb terminal without keyboard navigability #3491

Closed
lihaoyi opened this issue Sep 9, 2024 · 0 comments · Fixed by #3500
Closed

console command launches dumb terminal without keyboard navigability #3491

lihaoyi opened this issue Sep 9, 2024 · 0 comments · Fixed by #3500
Labels
bug The issue represents an bug
Milestone

Comments

@lihaoyi
Copy link
Member

lihaoyi commented Sep 9, 2024

$ ./mill -i main.console
[694/1] main.console
Welcome to Scala 2.13.14 (OpenJDK 64-Bit Server VM, Java 17.0.6).
Type in expressions for evaluation. Or try :help.
Sep 09, 2024 2:03:30 PM org.jline.utils.Log logr
WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)

scala>

You can enter and delete text, but cannot move the cursor left or right with arrows. This is a consequence of #3363 which made even -i mill run in a subprocess connected by pipes, rather than in the client process as it did before. Probably fixable by ensuring we configure the server and client processes/jline/terminal correctly

@lefou lefou added the bug The issue represents an bug label Sep 9, 2024
@lefou lefou added this to the 0.12.0 milestone Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue represents an bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants