diff --git a/pom.xml b/pom.xml
index af8657d1f1..eccd1d74f8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -69,6 +69,7 @@
jar
compile
+
jline
jline
@@ -76,6 +77,13 @@
jar
compile
+
+ org.fusesource.jansi
+ jansi
+ 1.8
+ jar
+ compile
+
org.xerial
sqlite-jdbc
diff --git a/src/main/java/jline/AnsiWindowsTerminal.java b/src/main/java/jline/AnsiWindowsTerminal.java
index df32559741..a6380364db 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();