dcaflib

Dejan Lekic dejan.lekic at gmail.com
Mon Mar 26 06:56:46 PDT 2012


Nathan M. Swan wrote:

> 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!");
> }

Nathan, what terminals are supported? Only ANSI / VT* or some other types of 
terminals as well?


More information about the Digitalmars-d-announce mailing list