File tree 1 file changed +4
-1
lines changed
jansi/src/main/java/org/fusesource/jansi
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 40
40
* support natively ANSI escape sequences like any Unix terminal,</li>
41
41
* <li>on Windows, cmd.exe, PowerShell or Git-cmd terminals should get <code>WINDOWS</code> mode.</li>
42
42
* </ul>
43
- * The results will vary if you play with <code>jansi.passthrough</code>, <code>jansi.strip</code> or
43
+ * If stdout is redirected to a file (<code>> out.txt</code>), System.out should switch to <code>STRIP_ANSI</code>.
44
+ * Same for stderr redirection (<code>2> err.txt</code>) which should affect System.err mode.
45
+ * <p>The results will vary if you play with <code>jansi.passthrough</code>, <code>jansi.strip</code> or
44
46
* <code>jansi.force</code> system property, or if you redirect output to a file.
45
47
* <p>If you have a specific situation that is not covered, please report precise conditions to reproduce
46
48
* the issue and ideas on how to detect precisely the affected situation.
49
+ * @see AnsiConsole
47
50
*/
48
51
public class AnsiMain {
49
52
public static void main (String ... args ) throws IOException {
You can’t perform that action at this time.
0 commit comments