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

Does not work with Eclipse 'ANSI Escape in Console' plugin #102

Closed
JesseVelden opened this issue Jan 27, 2018 · 2 comments
Closed

Does not work with Eclipse 'ANSI Escape in Console' plugin #102

JesseVelden opened this issue Jan 27, 2018 · 2 comments

Comments

@JesseVelden
Copy link

JesseVelden commented Jan 27, 2018

When I am using the ANSI Escape in Console Eclipse plugin and doing AnsiConsole.systemInstall();, it doesn't output any color codes in the Eclipse console.
Without AnsiConsole.systemInstall(); ANSI Escape characters are parsing fine with the plugin.

@hboutemy
Copy link
Collaborator

like #87, how can we detect that the console supports ANSI escape codes? is there any system property?

@gnodet
Copy link
Member

gnodet commented Sep 28, 2023

like #87, how can we detect that the console supports ANSI escape codes? is there any system property?

You can use -Djansi.force=true system property. This causes other problems with Eclipse, as it expects all ansi sequences to be supported, which is definitely not the case in the eclipse console unfortunately.

Unfortunately, I also can't see any environment variable or system property that could be used to automatically detect the Eclipse environment...

@gnodet gnodet closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants