-
Notifications
You must be signed in to change notification settings - Fork 244
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
/dev/tty - no file found #610
Comments
Maybe you could single-step through the terminalFactory.createScreen() call? My own guess is, that intellij ultimate "half-way mimicks" a terminal-like environment, |
Did you recently update your JDK? I have discovered that your test program works just fine for me when built and run inside IntelliJ with JDK-21. I get the same error message about I have verified this on Linux and macOS with IntelliJ 2024.1.4. |
Java 22 changed behaviour for lanterna/src/main/java/com/googlecode/lanterna/terminal/DefaultTerminalFactory.java Line 112 in 5b839cc
so that The workaround for now is to set a system property before calling
@mabe02 Consider replacing the |
Yes, we should do that. Will add tonight. |
Pushed to 3.0, 3.1 and master. Should do a new release soon:ish, think there was some other bugfixes merged that are pending. |
I have a lanterna app that works quiet well, but i want to change a lot (different windows etc., at the moment its only 1), so i thought i start "fresh" and create everything new.
But i fail in the very beginning somehow... and dont know why.
Running debian trixie with regular java installed in intellij ultimate.
My code is this:
But it fails with:
This is wierd because it runs in the console. Anyone an idea why is that?
The text was updated successfully, but these errors were encountered: