Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
You can add escape color code before text which you want to colouring ex.printf("\033[1;31m");/colouring text to red And if you want return color to default ,just you write "\033[0m"
2nd Feb 2019, 7:27 AM
caner - avatar