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

Limited ANSI colors in PowerShell #849

Open
remkop opened this issue Nov 1, 2019 · 0 comments
Open

Limited ANSI colors in PowerShell #849

remkop opened this issue Nov 1, 2019 · 0 comments

Comments

@remkop
Copy link
Owner

remkop commented Nov 1, 2019

When running the checksum example, either as a Java process or as a native image, in PowerShell, only the command name checksum is highlighted in the usage help message. The rest of the message does not seem to use any of the ANSI colors and styles:

PS C:\Users\remko> .\checksum.exe
Missing required parameter: <file>
Usage: checksum [-hV] [-a=<algorithm>] <file>
Prints the checksum (MD5 by default) of a file to STDOUT.
      <file>      The file whose checksum to calculate.
  -a, --algorithm=<algorithm>
                  MD5, SHA-1, SHA-256, ...
  -h, --help      Show this help message and exit.
  -V, --version   Print version information and exit.

Debug output:

[picocli DEBUG] (ANSI is enabled by default: systemproperty[picocli.ansi]=null, isatty=true,
  TERM=null, OSTYPE=null, isWindows=true, JansiConsoleInstalled=true, ANSICON=null,
  ConEmuANSI=null, NO_COLOR=null, CLICOLOR=null, CLICOLOR_FORCE=null)
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

1 participant