In C ++, the following code, when launched in the console, will print text in color:
cout << "\e[32;40mGreenForegroundAndBlackBackgroundText" << endl;
In D, I get an error:
string s = "\e[32;40mGreenForegroundAndBlackBackgroundText";
Is there a way to make this work in D?
Arlen source
share