mirror of
https://github.com/yamadapc/d-colorize
synced 2024-11-15 05:24:00 +01:00
Use cwritefln in example.
This commit is contained in:
parent
7398ee11f1
commit
fd0cda90f4
|
@ -16,12 +16,11 @@ This package is registered in the dub registry as
|
|||
## Usage
|
||||
```d
|
||||
import std.stdio;
|
||||
import colorize : fg;
|
||||
import colorize.colorize : colorize;
|
||||
import colorize;
|
||||
|
||||
void main()
|
||||
{
|
||||
writeln("This is blue".colorize(fg.blue));
|
||||
cwriteln("This is blue".colorize(fg.blue));
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue