| Hi jpff,
I fixed a little bug in the int sensLine(void) - function
in file linevent.c: the ~23rd line in the function is:
Linend = Linep + n;
replace this with
Linend = Linep;
if(n > 0) Linend += n;
as n is -1 when nothing has been read but there is a remainder
from the previous line in the buffer, which will cause a line
read error.
The error only occurs if the line events follow up very quick,
this usually does not happen with hand-typed lines, but I use
line events very extensively that are generated by the control
program for example with on-screen-slider movements that send
events to stdin of the running process. By the way, does anyone
else use line events in that way? What do you use them for?
Best greetings - Peter |