def _move_to_next_line(self) -> None:
    if (self._cursor < len(self._candidates)):
        self._cursor += 1
def _move_to_next_line(self) -> None:
    if (self._cursor < len(self._candidates)):
        self._cursor += 1