    def _add_step(self, pos):
        """
        Add a step to the end of the current recorded path.

        :param pos: The position tuple (x, y) to add to the list.
        """
        self._steps.append(pos)
        self._rec_x = pos[0]
        self._rec_y = pos[1]
Add a step to the end of the current recorded path.

:param pos: The position tuple (x, y) to add to the list.
asciimatics/paths.py