I would like to overwrite something on a line above in in a serial console. Is there a character that allows me to move up?
Thank you.
for i in range(10): print("Loading" + "." * i) doSomeTimeConsumingProcessing() sys.stdout.write("\033[F") # Cursor up one lin
Try this in Python and replace doSomeTimeConsumingProcessing() with any routine needed, and hope it helps