projects
/
platform
/
upstream
/
SPIRV-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fe8e38
)
Windows: Increase intensity of blue text
author
David Neto
<dneto@google.com>
Thu, 24 Aug 2017 14:34:00 +0000
(10:34 -0400)
committer
David Neto
<dneto@google.com>
Thu, 24 Aug 2017 14:40:17 +0000
(10:40 -0400)
source/print.cpp
patch
|
blob
|
history
diff --git
a/source/print.cpp
b/source/print.cpp
index 8abbf123ab74eccdc99a653700f89d54e3eb3a70..8d70ea00350a1fe47508ecffbe75bb378efa20fb 100644
(file)
--- a/
source/print.cpp
+++ b/
source/print.cpp
@@
-80,7
+80,10
@@
clr::yellow::operator const char*() {
}
clr::blue::operator const char*() {
- SetConsoleForegroundColor(FOREGROUND_BLUE);
+ // Blue all by itself is hard to see against a black background (the
+ // default on command shell), or a medium blue background (the default
+ // on PowerShell). So increase its intensity.
+ SetConsoleForegroundColor(FOREGROUND_BLUE | FOREGROUND_INTENSITY);
return "";
}