about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJonathan Turner <jonathandturner@users.noreply.github.com>2016-09-02 15:28:51 -0700
committerGitHub <noreply@github.com>2016-09-02 15:28:51 -0700
commitfa95551b9b1f9c802eaa0b8be02610cc78e0608a (patch)
treef5f9f783ae5b76e9b0cf8405650d834c4c5ca5e4 /src/rustllvm/RustWrapper.cpp
parent59c0ff6314f4b47bbb4b92f17e34d6886b8c0cba (diff)
parent1b0476297e6d8bee01197e507f50350a748388a2 (diff)
downloadrust-fa95551b9b1f9c802eaa0b8be02610cc78e0608a.tar.gz
rust-fa95551b9b1f9c802eaa0b8be02610cc78e0608a.zip
Rollup merge of #36178 - jonathandturner:windows_colors, r=nikomatsakis
Special case a few colors for Windows

As brought up on [this thread](https://github.com/rust-lang/rust/issues/33240#issuecomment-243310067) the colors used in error messages on Windows can be difficult to read because of the lack of bold.

This PR makes a few changes to improve readability, namely:
* Rather than using BRIGHT_BLUE, on Windows we now use BRIGHT_CYAN, which is easier to read on black when you do not have bold
* We used BRIGHT_YELLOW rather than YELLOW, for the same reason
* Titles will be BRIGHT_WHITE now, to give the illusion of being bold

Some examples:

![warning](https://cloud.githubusercontent.com/assets/547158/18148466/9aa9bbe2-6f8e-11e6-927f-d0eec53cac32.PNG)

![error](https://cloud.githubusercontent.com/assets/547158/18148488/ba9fb186-6f8e-11e6-8d8e-e93d569f61de.PNG)

r? @nikomatsakis

cc @retep998
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions