What is "dmd" Internal API, can I use it just like std Library Reference?
BoQsc
vaidas.boqsc at gmail.com
Tue Aug 20 12:52:31 UTC 2019
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
More information about the Digitalmars-d-learn
mailing list