On Thursday, 31 July 2014 at 12:09:41 UTC, Suliman wrote:
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

You have to use cwrite/cwritef/cwriteln/cwritefln, and it's not yet in the examples.

Reply via email to