diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2012-05-23 15:02:57 -0500 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2012-05-23 15:32:42 -0500 |
commit | fdddc681d28b6eb90420bde99d2288fe4f702b27 (patch) | |
tree | b69e560739d03680145ffd1ae8628ede0bbbd484 /src/main | |
parent | 478fa4a9694ee379c13d1d17710e2c419b5bd7af (diff) | |
download | craftbukkit-fdddc681d28b6eb90420bde99d2288fe4f702b27.tar craftbukkit-fdddc681d28b6eb90420bde99d2288fe4f702b27.tar.gz craftbukkit-fdddc681d28b6eb90420bde99d2288fe4f702b27.tar.lz craftbukkit-fdddc681d28b6eb90420bde99d2288fe4f702b27.tar.xz craftbukkit-fdddc681d28b6eb90420bde99d2288fe4f702b27.zip |
Use jansi's Windows support for terminal colors.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/jline/AnsiWindowsTerminal.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/jline/AnsiWindowsTerminal.java b/src/main/java/jline/AnsiWindowsTerminal.java index df325597..a6380364 100644 --- a/src/main/java/jline/AnsiWindowsTerminal.java +++ b/src/main/java/jline/AnsiWindowsTerminal.java @@ -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(); |