axiros / terminal_markdown_viewer

Styled Terminal Markdown Viewer
Other
1.81k stars 106 forks source link

Output of `--help` hard to read leading hyphens on options when on black background #48

Closed binkley closed 7 years ago

binkley commented 7 years ago

The output of --help is nicely colorized/formatted -- bravo!

However, the color of the leading hyphens on options is very difficult to see when rendered on a black background terminal.

I don't have any good suggestions. I'm not aware of an API to query the terminal color settings, so you could pick better contrasting colors.

axgkl commented 7 years ago

hi, yes the missing query for background color is real problem. Only solution is to force a background color - then display - then reset.

reworked the help doc a bit, maybe better now. reopen if not.

screen shot 2017-07-28 at 02 51 16