'Moves cursor to a specific line in the current column.
:param int line: line number to move the cursor to.'

def cursor_to_line(self, line=None):

    self.cursor.y = ((line or 1) - 1)
    if (mo.DECOM in self.mode):
        self.cursor.y += self.margins.top
    self.ensure_bounds()
