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

View file

@ -139,7 +139,7 @@ dependencies {
implementation('org.apache.commons:commons-compress:1.27.1')
implementation('net.sourceforge.streamsupport:streamsupport:1.7.0')
implementation('com.github.librepdf:openpdf:1.3.30')
implementation('com.googlecode.lanterna:lanterna:3.1.1')
implementation('com.googlecode.lanterna:lanterna:3.1.3')
implementation('net.coobird:thumbnailator:0.4.18')
implementation('com.github.hervegirod:fxsvgimage:1.1')
implementation('com.sparrowwallet:toucan:0.9.0')

View file

@ -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));