Hello everyone, again,

I had an idea that I want some colors in the output of Command Line (For Windows) and
the Terminal (For Linux)

I found https://dlang.org/phobos/dmd_console.html and wanted to use it. But it seems I'm not being successful, and I do not understand why.

Here, you can see that I'm trying to import dmd.console;

import std.stdio : writeln;
import dmd.console;

void main()
{
    writeln("Hello World");
}

And the output says that, dmd.console; do not exist?
What are these Internal APIs for?
C:\Users\Juozas\Desktop>rdmd color.d
color.d(2): Error: module `console` is in file 'dmd\console.d' which cannot be read

Reply via email to