Are there any 'c' experts on here? If so, I've a quick question about '
printf'
I understand the basics, but while trying to discover how to have a terminal display update with the output of a program that I'm working on, but without having the cursor displayed, darting about all over the place as the data is updated, I came across this...
printf("\033[?25l");
... which makes the cursor invisible. Nice and simple.
My question is, how does it work and how do I reverse it, so that I can include another '
printf' function to make the cursor again visible, before my program terminates.
I trust that this question is not too "Off-Topic" for this forum.
Thanks.