[RFC] ColorD
Robik
szadows at gmail.com
Sun Oct 21 12:28:20 PDT 2012
Hello,
I would like to introduce ColorD, small library that allows to
simply manipulate console output colors, both on Windows and
Posix operating systems. It also supports font styles such as
underline and strikethrough(Posix feature only).
Simple example:
import std.stdio, colord;
void main()
{
setConsoleColors(Fg.red, Bg.blue);
writeln("Red text on blue background.");
resetConsoleColors(); // Bring back initial state
}
Feedback welcome.
GitHub: https://github.com/robik/ColorD
Regards.
More information about the Digitalmars-d
mailing list