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

enable JLine Terminal #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

enable JLine Terminal #111

wants to merge 1 commit into from

Conversation

TechLord22
Copy link
Member

Enables the JLine Terminal. This allows for colored terminal output detection.

Forge checks if the classpath contains idea_rt.jar, which to my knowledge no longer exists. It also declared in a comment that Eclipse did not support ANSI escape codes in its terminal, but versions from 2022 and newer actually do.

If detection within JLine fails, Forge still falls back to stdout.

This PR enables using the terminal via a system property provided by forge. The relevant code is within TerminalConsoleAppender.

@TechLord22 TechLord22 requested a review from a team as a code owner August 31, 2024 15:54
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

Successfully merging this pull request may close these issues.

1 participant