Coloring terminal output.

Suliman via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Jul 31 05:09:38 PDT 2014


On Thursday, 31 July 2014 at 09:37:25 UTC, ponce wrote:
> On Monday, 14 July 2014 at 19:57:32 UTC, Suliman wrote:
>>> I've made a simple port of ruby's colorize library for D.
>>> I'd greatly appreciate any feedback. Windows isn't supported,
>>> yet.
>>
>> Cool! Would it be hard to add windows support?
>
> Windows support added. It relies on a partial ANSI/VT100 
> interpreter to allow colors to stay in the string.


I tried to build on Windows example and get on console next:

D:\code\d>appcolor.exe
←[34mThis is blue←[0m


More information about the Digitalmars-d-announce mailing list