Skip to content

Commit ea23bb5

Browse files
committed
upgrade lanterna and remove java 22 workaround
1 parent 2d3bf0b commit ea23bb5

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ dependencies {
139139
implementation('org.apache.commons:commons-compress:1.27.1')
140140
implementation('net.sourceforge.streamsupport:streamsupport:1.7.0')
141141
implementation('com.github.librepdf:openpdf:1.3.30')
142-
implementation('com.googlecode.lanterna:lanterna:3.1.1')
142+
implementation('com.googlecode.lanterna:lanterna:3.1.3')
143143
implementation('net.coobird:thumbnailator:0.4.18')
144144
implementation('com.github.hervegirod:fxsvgimage:1.1')
145145
implementation('com.sparrowwallet:toucan:0.9.0')

src/main/java/com/sparrowwallet/sparrow/terminal/SparrowTerminal.java

-3
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ public void init() throws Exception {
5252

5353
AppServices.initialize(this, new TerminalInteractionServices());
5454

55-
//Restore pre Java 22 behaviour, see https://www.oracle.com/java/technologies/javase/22-relnote-issues.html#JDK-8308591
56-
System.setProperty("jdk.console", "java.base");
57-
5855
this.terminal = new DefaultTerminalFactory().createTerminal();
5956
this.screen = new TerminalScreen(terminal);
6057
this.gui = new SparrowTextGui(this, screen, new DefaultWindowManager(), new EmptySpace(TextColor.ANSI.BLUE));

0 commit comments

Comments
 (0)