Hello! Does anyone know how can I write colored text to the console?
I have a c ++ example that works, but I can't make it work on obj pascal
#include <iostream>
int main()
{
std::cout << "\033[033;31m red text" << std::endl;
return(0);
}
Output:
red textObj pascal:
writeln('\033[033;31m red text');
Output:
\033[033;31m red text
Thanks