[RFC] ColorD
renoX
renozyx at gmail.com
Mon Oct 22 02:34:44 PDT 2012
This could be improved, the example you give
> writeln(Colors.Red, "Foo Bar", Colors.Reset);
imply that if you forget to put Colors.Reset at the end of
writeln then all the following call will be made in Colors.Red
which I don't like, IMHO "writeln(Colors.Red, "Foo Bar");" is
better and at the end of the writeln your settings are resetted.
If you want to change the current settings, you have to use a
different function call..
BR,
renoX
More information about the Digitalmars-d
mailing list