def rightarrow(self):
        """Perform the action that happens when the right arrow key is pressed."""
        if self.cursor < len(self.buffer):
            self.cursor += 1
dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py/PygcurseInput.rightarrow/original