Have some improvements on Windows: console API vs. ansi sequences

37 views
Skip to first unread message

Mihai Nita

unread,
Jan 3, 2012, 6:25:24 PM1/3/12
to jansi-dev
On windows it would be great to be able to select (environment
variable?, other ways?) between
using the Windows Console API and real ANSI sequences.
This is because the coloring with Windows Console API is lost when one
redirects to a file, or uses something like more.

There are options out there that allow the use of ANSI sequences on
Windows (for instance ansicon, at http://adoxa.110mb.com/ansicon/).
So it would be nice to allow people to choose the coloring mechanism.

Thanks,
Mihai

Hiram Chirino

unread,
Jan 4, 2012, 5:12:13 AM1/4/12
to jans...@googlegroups.com
Good idea. I've just made a change which so that if the
jansi.passthrough system property is set, then jansi will not
interpret any of the ansi sequences.

Regards,
Hiram

FuseSource
Web: http://fusesource.com/

Reply all
Reply to author
Forward
0 new messages