Cursor positioning in TeraTerm
Posted: Sun May 13, 2018 11:56 pm
I use TeraTerm and would like to use cursor positioning when using my pyboard. How does one send escape sequences to the TeraTerm terminal emulating a VT100?
Please see the new forum at
https://forum.micropython.org/
Code: Select all
import sys
def goto(row, col):
sys.stdout.write("\x1b[{};{}H".format(row + 1, col + 1))