text-io icon indicating copy to clipboard operation
text-io copied to clipboard

Java 21 breaks the terminal font

Open aneshodza opened this issue 11 months ago • 1 comments

Hey! I am using the textio library in one of my projects, where I create a terminal using this code:

private final TextIO textIO;
private final TextTerminal<?> terminal;
//...
this.textIO = TextIoFactory.getTextIO();
this.terminal = textIO.getTextTerminal();

But since upgrading to Java 21 the terminal has a new font and isn't monofont. Is this a known bug, or is my configuration lacking?

Note: It worked perfectly fine in java 18 and this only happens on Windows.

How it looks now

image

How it looked before

image

aneshodza avatar Mar 26 '24 21:03 aneshodza