[fpc-devel] CursorOn/Off on Linux

Marco Borsari borsa77 at libero.it
Sun May 31 12:03:39 CEST 2020

I have always thought the procedures for the cursor appearance have 
intentionally left blank on Linux, but it is not so.
In packages/rtl-console/src/unix/crt.pp they make use of ttySendStr,
investigating a little I found that variables InCnt, InHead, InTail and 
OutCnt are not initialized, while they should all start at 0.
I am not sure that solves the problem, anyway it is an error.
Marco Borsari

More information about the fpc-devel mailing list