upgrade lanterna and remove java 22 workaround

This commit is contained in:
Craig Raw
2025-01-16 12:51:10 +02:00
parent 2d3bf0b2fe
commit ea23bb51d9
2 changed files with 1 additions and 4 deletions
@@ -52,9 +52,6 @@ public class SparrowTerminal extends Application {
AppServices.initialize(this, new TerminalInteractionServices());
//Restore pre Java 22 behaviour, see https://www.oracle.com/java/technologies/javase/22-relnote-issues.html#JDK-8308591
System.setProperty("jdk.console", "java.base");
this.terminal = new DefaultTerminalFactory().createTerminal();
this.screen = new TerminalScreen(terminal);
this.gui = new SparrowTextGui(this, screen, new DefaultWindowManager(), new EmptySpace(TextColor.ANSI.BLUE));