cygwin support

45 views
Skip to first unread message

Leandro de Oliveira

unread,
Mar 11, 2013, 9:44:46 AM3/11/13
to jans...@googlegroups.com
Hi,

The following works on Windows command prompt but doesn't on Cygwin terminal:

AnsiConsole.systemInstall();
System.out.println(Ansi.ansi().eraseScreen().fg(Color.RED).a("Hello").fg(Color.GREEN).a(" World").reset());

If I don't call AnsiConsole.systemInstall(), it works on Cygwin but doesn't on Windows command prompt.

Is there a way to make it work correctly on both?

Thanks
Reply all
Reply to author
Forward
0 new messages