remkop / picocli

Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.
https://picocli.info
Apache License 2.0
4.89k stars 422 forks source link

In Windows Terminal + Powershell 7, ansi color is not enabled #2282

Open gwttk opened 4 months ago

gwttk commented 4 months ago

Maybe we should enable it by default?

remkop commented 3 months ago

You can force it to be on in your application.

nmeylan commented 2 months ago

It might be obvious, but for future persons finding this issue as i did, here the relevant sections in the documentation https://picocli.info/#_supported_platforms https://picocli.info/#_forcing_ansi_onoff https://picocli.info/#_heuristics_for_enabling_ansi