On Mon, 22 Oct 2012 06:04:51 -0500, Dejan Lekic <[email protected]>
wrote:
On Sunday, 21 October 2012 at 19:28:21 UTC, Robik wrote:
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.
This is very much related to the ycurses and dcurses projects, and I
strongly suggest you work with people behind those projects and come up
with a nice/flexible/robust "console" API/package for D.
I had some trouble getting in touch with ylixir last time, and pardon me
if I'm wrong,
but *you* are the 'people behind' dcurses. =P
I would be willing to chip in for something like this though.
--
Using Opera's revolutionary email client: http://www.opera.com/mail/