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.
Most terminals understand ANSI escape codes. The relevant codes for this use case:
"33[F"
"33[A"
Example (Python):
print("33[FMy text overwriting the previous line.")
1.4m articles
1.4m replys
5 comments
57.0k users