You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using jansi I get multiple of the following warning messages in the console:
2018-12-14 11:31:45,437 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream due to java.io.IOException: Could not get the screen info: T h e h a n d l e i s i n v a l i d .
May I suggest adding the following code to WindowsAnsiOutputStream to at least format the warning better:
if (GetConsoleScreenBufferInfo(console, info) == 0) {
String lastErrorMessage = WindowsSupport.getLastErrorMessage().trim().replaceAll("\0", "");
throw new IOException("Could not get the screen info: " + lastErrorMessage);
}
The text was updated successfully, but these errors were encountered:
When using jansi I get multiple of the following warning messages in the console:
May I suggest adding the following code to WindowsAnsiOutputStream to at least format the warning better:
The text was updated successfully, but these errors were encountered: