dcaflib

Nathan M. Swan nathanmswan at gmail.com
Fri Mar 16 20:00:34 PDT 2012


In a post from a few weeks ago, someone mentioned terminal 
colors. Currently, I have one that works with bash (cmd pending) 
at https://github.com/carlor/dcaflib.

Example code:

import dcaflib.ui.terminal;

import std.stdio;

void main() {
     fgColor = TermColor.RED;
     writeln("this is red!");
     fgColor = TermColor.BLUE;
     writeln("this is blue!");
}



More information about the Digitalmars-d-announce mailing list