[fpc-pascal] Unit crt

Marco van de Voort marcov at stack.nl
Wed Sep 23 12:05:43 CEST 2015


In our previous episode, Rainer Stratmann said:
> Does it have something to do with the output of Linux commands?

Yes. In raw mode cr and lf are separate. so suddenly your lf only advances
to the next line, but doesn't reset the carriage to the first column.

Use TProcess to capture the command output and add #13#10 or turn off
rawmode before executing and on again after (like the textmode IDE does)
 



More information about the fpc-pascal mailing list