ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Zoe.hpp
(Generate patch)

Comparing trunk/Zoe.hpp (file contents):
Revision 59 by douglas, 2004-09-13T23:39:30-07:00 vs.
Revision 60 by douglas, 2004-09-15T19:43:29-07:00

# 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_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines