Pada tanggal Min, 2 Des 2018 pukul 15.59 Sven Barth <
pascaldra...@googlemail.com> menulis:

>
> Um... The CRT unit is a raw Pascal solution?! Anyway, you can use that
> unit to see how the CRT unit did it.
>

Nope, I don't think so. CRT unit is Turbo Pascal's legacy unit. There are
some serious caveats with CRT unit, as explained here:
https://www.freepascal.org/docs-html/rtl/crt/index.html

The Windows console does not support ANSI codes. So you'll need to use an
> abstraction API like the CRT unit anyway.
>

Windows now supports ANSI codes emulation, as explained here:
https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences

Regards,

–Mr Bee
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to