[fpc-pascal] Printing terminal colors with writeln
XHajT03 at hajny.biz
Thu Sep 26 22:46:51 CEST 2019
On 2019-09-26 22:41, Ryan Joseph wrote:
> In C I can do:
> 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?
That depends on the state of the console / terminal window. Do you use
unit Crt or unit Video?
More information about the fpc-pascal