Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use jansi for console colors #70

Open
Darthyson opened this issue Mar 30, 2023 · 0 comments
Open

use jansi for console colors #70

Darthyson opened this issue Mar 30, 2023 · 0 comments

Comments

@Darthyson
Copy link
Member

By default under windows ANSI escape sequences won't color the output but instead been displayed as normal characters.
As mentioned in Selfbus Wiki there is a workaround adding/setting HKEY_CURRENT_USER\Console\VirtualTerminalLevel to 1.
As i understand jansi has native cross-platform support.
A starting point would be adding to build.gradle:

// console colors with ANSI escape sequences
implementation 'org.fusesource.jansi:jansi:2.4.0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant