[RFC] ColorD

Peter Sommerfeld noreply at rubrica.at
Sun Oct 21 15:05:50 PDT 2012


Am 21.10.2012, 22:24 Uhr, schrieb Robik <szadows at gmail.com>:

> On Sunday, 21 October 2012 at 20:19:54 UTC, Peter Sommerfeld wrote:
>> Robik wrote:
>>
>>> I would like to introduce ColorD, small library that allows to simply  
>>> manipulate console output colors, both on Windows and Posix operating  
>>> systems.
>>
>>> GitHub: https://github.com/robik/ColorD
>>
>> On windows I got an error:
>> Not a property <EnumTypedef!<color,"fg">>.opDispatch
>> Same for "bg".
>>
>> void resetConsoleColors()
>> {
>>     setConsoleColors(Fg.initial, Bg.initial); // here
>> }
>>
>> Peter
>
> What version are you using?

dmd 2.060. -O -release  -inline -property -w -wi

Peter


More information about the Digitalmars-d mailing list