Colored text in console? lazarus / 32-Linux ---------------------------------------------------------------------- el3ctrolyte · 2021-01-28 08:23 I know that i can use the CRT unit. But it implements its own display driver and i don't really like that. How can i get colored text in the console on linux without having to use the CRT unit. I know in c/c++ you use some thing like this: Code: C  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i printf("\033[1;31mbold red text\033[0m\n"); Will this also work with freepascal? ---------------------------------------------------------------------- PascalDragon · 2021-01-28 08:33 As long as your console understands these sequences, then you can do the same: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Writeln(#&33'[1;31mbold red text'#&33'[0m'); Alternatively there is the LazTermUtils unit by Warfley.