We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8be96cc commit 9477b53Copy full SHA for 9477b53
src/main/java/org/fusesource/jansi/AnsiConsole.java
@@ -285,6 +285,13 @@ synchronized static public void systemReinstall() {
285
}
286
287
288
+ /**
289
+ * check if the streams have been installed or not
290
+ */
291
+ synchronized public static boolean isInstalled() {
292
+ return installed > 0;
293
+ }
294
+
295
/**
296
* undo a previous {@link #systemInstall()}. If {@link #systemInstall()} was called
297
* multiple times, {@link #systemUninstall()} must be called the same number of times before
0 commit comments