sim: should fix problem with color/bold
[calu.git] / 3b_sim / ccolor.h
index aabf4a3eff2a07fa53e695ec2a078f24cc1bd4cd..07c9252e11a9b83becb63b16ffd7ebda143613ab 100644 (file)
@@ -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) {