code: def move_up(lines=1, file=sys.stdout):
      
      move.up(lines).write(file=file)
docs: Move the cursor up a number of lines.
  
          Esc[ValueA:
          Moves the cursor up by the specified number of lines without changing
          columns. If the cursor is already on the top line, ANSI.SYS ignores
          this sequence.