On Monday, 14 July 2014 at 20:09:05 UTC, Adam D. Ruppe wrote:
On Monday, 14 July 2014 at 19:57:32 UTC, Suliman wrote:
Cool! Would it be hard to add windows support?

I don't think it can be done with this setup - the colorize thing returns a string, but Windows does color via API calls independently of the string.

My terminal.d offers color output through special function calls: https://github.com/adamdruppe/arsd/blob/master/terminal.d

Suliman:
As Adam mentioned, to add windows support we'd have to use a different set-up. I'm thinking on a clean solution to this, but a special printing
function will have to be called.

I'm actually discussing this at https://github.com/yamadapc/d-colorize/issues/2

Adam:
Cool; that seems like a nice solution.

Reply via email to