|
\r does take you to the start, but previous characters you've written will still be on the line if the new string doesn't write over them. Thought this would be a problem but i've realised i'm padding the string that's going to be written to the terminal with spaces anyways, so yes, writing \r would be better indeed. Thanks
|