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.
