diff --git a/build.gradle b/build.gradle index d57c77ea..a82a3927 100644 --- a/build.gradle +++ b/build.gradle @@ -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') diff --git a/src/main/java/com/sparrowwallet/sparrow/terminal/SparrowTerminal.java b/src/main/java/com/sparrowwallet/sparrow/terminal/SparrowTerminal.java index 1199e344..ab94f63e 100644 --- a/src/main/java/com/sparrowwallet/sparrow/terminal/SparrowTerminal.java +++ b/src/main/java/com/sparrowwallet/sparrow/terminal/SparrowTerminal.java @@ -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));