-
Notifications
You must be signed in to change notification settings - Fork 422
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
Ansi autodetection and JDK 22 #2083
Labels
Milestone
Comments
cushon
added a commit
to cushon/picocli
that referenced
this issue
Aug 11, 2023
remkop
pushed a commit
that referenced
this issue
Aug 14, 2023
remkop
added a commit
that referenced
this issue
Aug 26, 2023
remkop
added a commit
that referenced
this issue
Aug 26, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
picocli uses this logic to check if the program's output streams are connected to a terminal, which assumes
System.console()
returnsnull
when the output streams are redirected or connected to a virtual terminal.https:/remkop/picocli/blob/71553ae1e8728061f710bd49b6482efb79c77aee/src/main/java/picocli/CommandLine.java#L17843
That logic is broken by an upcoming JDK change (JDK-8309155]:
The text was updated successfully, but these errors were encountered: