def leftarrow(self):
        """Perform the action that happens when the left arrow key is pressed."""
        if self.cursor > 0:
            self.cursor -= 1
dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py/PygcurseInput.leftarrow/original