Originally Posted by
laserlight
I had the impression that you tried a mutex in a recent post. Did that fail to work?
I just learned of the word 'mutex', but haven't tried anything involving it as it appears to use 'pthreads'. With all the other new programming code I have learned recently, including 'inotify', I'm shying away from 'pthreads' for the sake of my head. If it is a better way, I can look into it, but with problems I hear people have with 'pthreads' makes me shy away from it.
I did try using the ANSI Escape Sequences:
Code:
\033[s Save cursor position and attributes
\033[u Restore cursor position and attributes
But it didn't solve my problem.