On 16/10/2020 13:55, Chris Angelico wrote:
I do precisely that in many of my programs for e.g. single-line progress
displays.
But for multi-line output I don't know of any way to move the cursor
back up.
I work in Windows 10.
Try \x1b[A to move up a line, should work.
ChrisA
Got it working! The answer is
\x1b[1A
Thanks for the pointer!
Rob Cliffe
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/B3HVTOIQBA6YGCK4TJRLQW4FTBF2IXAQ/
Code of Conduct: http://python.org/psf/codeofconduct/