# | Line 64 | Line 64 | enum Color { reset, bright, dim, undersc | |
---|---|---|
64 | black = 30, red, green, yellow, blue, magenta, cyan, white, | |
65 | _black = 40, _red, _green, _yellow, _blue, _magenta, _cyan, _white }; | |
66 | ||
67 | < | inline std::ostream& operator<<(std::ostream& sout, Color color) |
67 | > | inline ios::PrintWriter& operator<<(ios::PrintWriter& pout, Color color) |
68 | { | |
69 | < | return Zoe::color ? sout << "\033[" << unsigned(color) << 'm' : sout; |
69 | > | return Zoe::color ? pout << "\033[" << unsigned(color) << "m" : pout; |
70 | } | |
71 | ||
72 | #endif // _Zoe_hpp_ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |