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

Disable ANSI control characters in output #24

Open
andrus opened this issue Jul 3, 2024 · 4 comments
Open

Disable ANSI control characters in output #24

andrus opened this issue Jul 3, 2024 · 4 comments

Comments

@andrus
Copy link
Contributor

andrus commented Jul 3, 2024

There was a recent issue in iJava - SpencerPark/IJava#163 . Let's check if we can reproduce and fix it on our end.

@emcastro
Copy link

Use of ANSI control characters is annoying when using VSCode Jupyter in standard dark mode. Some error messages are written black on dark gray.
image
Try to read the message | null.toString()!

@stariy95
Copy link
Member

stariy95 commented Jan 2, 2025

A quick note, in Bootique CLI we are using https://github.com/fusesource/jansi library to work with ASCII control codes.

@andrus
Copy link
Contributor Author

andrus commented Jan 2, 2025

I'd rather we don't add any third-party dependencies. But I am not fully up to speed on the complexity involved.

@stariy95
Copy link
Member

stariy95 commented Jan 2, 2025

Yes, adding this library could be excessive (and it uses native binaries).
We may only look at how they solved the detection part, and use it to just turn off formatting on terminals we are not sure it is safe to use.

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