summaryrefslogtreecommitdiff
path: root/src/unistring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistring.h')
-rw-r--r--src/unistring.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/unistring.h b/src/unistring.h
index 5467a151..d3cfc126 100644
--- a/src/unistring.h
+++ b/src/unistring.h
@@ -103,9 +103,9 @@ inline void justify(std::ostream& out,
bool redden = false)
{
if (! right) {
- if (redden) out << "\e[31m";
+ if (redden) out << "\033[31m";
out << str;
- if (redden) out << "\e[0m";
+ if (redden) out << "\033[0m";
}
unistring temp(str);
@@ -115,9 +115,9 @@ inline void justify(std::ostream& out,
out << ' ';
if (right) {
- if (redden) out << "\e[31m";
+ if (redden) out << "\033[31m";
out << str;
- if (redden) out << "\e[0m";
+ if (redden) out << "\033[0m";
}
}