From 5632f1c0b53769689551e96ecc1af697cf861397 Mon Sep 17 00:00:00 2001 From: Martin Perner Date: Wed, 12 Jan 2011 17:24:53 +0100 Subject: [PATCH] sim: should fix problem with color/bold --- 3b_sim/ccolor.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/3b_sim/ccolor.h b/3b_sim/ccolor.h index aabf4a3..07c9252 100644 --- 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) { -- 2.25.1