dlang / dub

Package and build management system for D
MIT License
677 stars 227 forks source link

`dub init` colors are broken on cmd #2774

Closed brianush1 closed 9 months ago

brianush1 commented 10 months ago

System information

Bug Description

The colors are messed up, but what's odd is that it does succeed at coloring the last bit properly

image

How to reproduce?

Run dub init in cmd on a fresh installation of Windows 10

Expected Behavior

Colors

Logs

rikkimax commented 10 months ago

https://github.com/dlang/dub/blob/master/source/dub/commandline.d#L1008

Should be cwritef not writef.