In the console you can print "\b"
to erase the character left of the cursor (backspace) like this
print "the last char is going to be erased\b" # the last char is going to be erased
How to just move one position to the left instead of erasing (left arrow)?