Commit 35727d4a authored by Grégoire Henry's avatar Grégoire Henry Committed by Raphaël Proust

Clic: stop being colorless.

Writing keyword in `white` was a bad idea for people using a
black-on-white terminal...

This patch replace `white` by the default color for keywords (it
preserves the underline). This does not change the color for
white-on-block terminal (where `white` is the default color), but fix
the issue for all terminals with a clear background
parent e4a5d3c4
......@@ -404,7 +404,7 @@ let setup_formatter ppf format verbosity =
| "commanddoc" -> Format.fprintf ppf " @[<v 0>"
| "opt" -> push_ansi_format (Some `Green, None, false, false)
| "arg" -> push_ansi_format (Some `Yellow, None, false, false) ; Format.fprintf ppf "<"
| "kwd" -> push_ansi_format (Some `White, None, false, true)
| "kwd" -> push_ansi_format (None, None, false, true)
| "error" -> push_ansi_format (Some `Red, None, true, true)
| "warning" -> push_ansi_format (Some `Yellow, None, true, true)
| "hilight" -> push_ansi_format (Some `White, Some `Yellow, true, true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment