[fpc-pascal] Printing terminal colors with writeln

Ryan Joseph genericptr at gmail.com
Thu Sep 26 22:41:38 CEST 2019

In C I can do:

// https://stackoverflow.com/questions/4842424/list-of-ansi-color-escape-sequences


and get red text in the terminal (MacOS). When I do the same thing with writeln and FPC it prints the literal characters with no colors. Why doesn’t this work the same in FPC I wonder?

	Ryan Joseph

More information about the fpc-pascal mailing list