File tree Expand file tree Collapse file tree
jansi/src/main/java/org/fusesource/jansi Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 * support natively ANSI escape sequences like any Unix terminal,</li>
4141 * <li>on Windows, cmd.exe, PowerShell or Git-cmd terminals should get <code>WINDOWS</code> mode.</li>
4242 * </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
4446 * <code>jansi.force</code> system property, or if you redirect output to a file.
4547 * <p>If you have a specific situation that is not covered, please report precise conditions to reproduce
4648 * the issue and ideas on how to detect precisely the affected situation.
49+ * @see AnsiConsole
4750 */
4851public class AnsiMain {
4952 public static void main (String ... args ) throws IOException {
You can’t perform that action at this time.
0 commit comments