projects
/
calu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sim: should fix problem with color/bold
[calu.git]
/
3b_sim
/
ccolor.h
diff --git
a/3b_sim/ccolor.h
b/3b_sim/ccolor.h
index aabf4a3eff2a07fa53e695ec2a078f24cc1bd4cd..07c9252e11a9b83becb63b16ffd7ebda143613ab 100644
(file)
--- a/
3b_sim/ccolor.h
+++ b/
3b_sim/ccolor.h
@@
-41,6
+41,9
@@
struct color
inline ostream& operator<<(ostream& o, const color& c)
{
+ //reset, just to be sure
+ o << "\033[0m";
+
o << "\033[";
if(c.back != black) {