mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Use jansi's Windows support for terminal colors.
This commit is contained in:
1 parent
478fa4a969
commit
fdddc681d2
2 files changed
+9
No files matched your search
@@ -64,6 +64,7 @@ public class AnsiWindowsTerminal
|
||||
}
|
||||
|
||||
private static boolean detectAnsiSupport() {
|
||||
AnsiConsole.systemInstall(); // CraftBukkit - install Windows JNI library
|
||||
OutputStream out = AnsiConsole.wrapOutputStream(new ByteArrayOutputStream());
|
||||
try {
|
||||
out.close();
|
||||
|
||||
Reference in new issue
Block a user